Merge pull request '## Summary' (#59) from issue-55-writable-test-state into master
Reviewed-on: #59
This commit was merged in pull request #59.
This commit is contained in:
@@ -133,7 +133,8 @@ class DjangoConfigSourceTests(TestCase):
|
||||
)
|
||||
HostConfig.objects.create(host="web-01", address="web-01.example.test")
|
||||
|
||||
cfg = DjangoConfigSource().effective_config_for_host("web-01")
|
||||
with override_settings(POBSYNC_HOME=str(Path(tmp) / "home")):
|
||||
cfg = DjangoConfigSource().effective_config_for_host("web-01")
|
||||
|
||||
self.assertIn(f"-oIdentityFile={identity_file}", cfg["ssh"]["options"])
|
||||
self.assertEqual(cfg["ssh_credential"]["storage"], "filesystem")
|
||||
|
||||
Reference in New Issue
Block a user