diff --git a/src/tests/__init__.py b/src/tests/__init__.py index fdefef7..65cd5a4 100644 --- a/src/tests/__init__.py +++ b/src/tests/__init__.py @@ -47,6 +47,7 @@ class TestApp(TestCase): @mock.patch('subprocess.Popen') def test_run_withhout_appium(self, mocked_avd, mocked_subprocess): with mock.patch('src.app.appium_run') as mocked_appium: + os.environ['APPIUM'] = str(False) app.run() self.assertTrue(mocked_avd.called) self.assertTrue(mocked_subprocess.called)