Commits

Oben Sonne  committed 9713f54

Separate test and regular items in keyring

  • Participants
  • Parent commits 49edc54

Comments (0)

Files changed (2)

 # constants
 # =============================================================================
 
+MODE = "GNOME_ENCFS_TEST" in os.environ and "test" or ""
+
 # attributes to detect gnome-encfs items in keyring
-GENCFS_ATTR = {"gnome-encfs": "" }
+GENCFS_ATTR = {"gnome-encfs": MODE }
 
 KEYRING = gk.get_default_keyring_sync()
 

File tests/test.sh

+export GNOME_ENCFS_TEST=""
+
 expect() {
 	echo "# EXPECT: $1"
 }