Commits

Oben Sonne committed 9713f54

Separate test and regular items in keyring

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()
 
+export GNOME_ENCFS_TEST=""
+
 expect() {
 	echo "# EXPECT: $1"
 }