Updated unit test
This commit is contained in:
parent
e59c28ebd8
commit
67726cf735
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue