tests: fix state_dir failure
This commit is contained in:
parent
f03d5b5c5a
commit
17a0a198ef
|
@ -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)]
|
||||||
|
|
Loading…
Reference in New Issue