summaryrefslogtreecommitdiff
path: root/tests/test_app.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_app.py')
-rw-r--r--tests/test_app.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_app.py b/tests/test_app.py
index ce6bf62..db80bbc 100644
--- a/tests/test_app.py
+++ b/tests/test_app.py
@@ -46,7 +46,9 @@ def test_interactive_mode_cmdloop():
app.interactive_app_factory = mock.MagicMock(
name='interactive_app_factory'
)
+ assert app.interpreter is None
app.run([])
+ assert app.interpreter is not None
app.interactive_app_factory.return_value.cmdloop.assert_called_once_with()