def test_prefix(self):
     secrets = store.secrets_store_from_config({
         "secrets.path": "/tmp/test",
         "test_secrets.path": "/tmp/secrets",
     }, prefix="test_secrets.")
     self.assertIsInstance(secrets, store.SecretsStore)
     self.assertEqual(secrets._filewatcher._path, "/tmp/secrets")
Exemple #2
0
 def test_make_store(self):
     secrets = store.secrets_store_from_config({
         "secrets.path": "/tmp/test",
     })
     self.assertIsInstance(secrets, store.SecretsStore)
Exemple #3
0
 def test_make_store(self):
     secrets = store.secrets_store_from_config({
         "secrets.path": "/tmp/test",
     })
     self.assertIsInstance(secrets, store.SecretsStore)