diff --git a/src/__init__.py b/src/__init__.py index a63a6e4b..2a0e6ae1 100644 --- a/src/__init__.py +++ b/src/__init__.py @@ -21,7 +21,7 @@ DEFAULT_CONFIG_FILE_PATH = os.path.join( os.path.dirname(os.path.dirname(__file__)), DEFAULT_CONFIG_FILE_NAME ) -DEFAULT_COOKIE_DIRECTORY = "session_data" +DEFAULT_COOKIE_DIRECTORY = "/config/session_data" warnings.filterwarnings("ignore", category=DeprecationWarning) diff --git a/tests/test_sync.py b/tests/test_sync.py index 05f044d1..cb287148 100644 --- a/tests/test_sync.py +++ b/tests/test_sync.py @@ -59,7 +59,7 @@ def test_sync( if ENV_ICLOUD_PASSWORD_KEY in os.environ: del os.environ[ENV_ICLOUD_PASSWORD_KEY] self.assertIsNone(sync.sync()) - self.assertTrue(os.path.isdir("./session_data")) + self.assertTrue(os.path.isdir("/config/session_data")) @patch(target="keyring.get_password", return_value=data.VALID_PASSWORD) @patch(