From 17a0a198efb5a7415e6ff12a2637605f40031dd4 Mon Sep 17 00:00:00 2001 From: Dan Bungert Date: Wed, 7 Feb 2024 23:05:56 -0700 Subject: [PATCH] tests: fix state_dir failure --- console_conf/controllers/tests/test_identity.py | 1 + 1 file changed, 1 insertion(+) diff --git a/console_conf/controllers/tests/test_identity.py b/console_conf/controllers/tests/test_identity.py index 1522e162..ff3c3b8b 100644 --- a/console_conf/controllers/tests/test_identity.py +++ b/console_conf/controllers/tests/test_identity.py @@ -34,6 +34,7 @@ class TestIdentityController(unittest.TestCase): proc_mock.stdout = '{"username":"foo"}' app = make_app() + app.state_dir = statedir app.opts.dry_run = False network_model = MagicMock() mock_devs = [MagicMock(spec=NetworkDev)]