Merge pull request #1908 from dbungert/fix-cc-state-dir

tests: fix state_dir failure
This commit is contained in:
Dan Bungert 2024-02-07 23:31:14 -07:00 committed by GitHub
commit 3035098d22
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -34,6 +34,7 @@ class TestIdentityController(unittest.TestCase):
proc_mock.stdout = '{"username":"foo"}' proc_mock.stdout = '{"username":"foo"}'
app = make_app() app = make_app()
app.state_dir = statedir
app.opts.dry_run = False app.opts.dry_run = False
network_model = MagicMock() network_model = MagicMock()
mock_devs = [MagicMock(spec=NetworkDev)] mock_devs = [MagicMock(spec=NetworkDev)]