diff --git a/.travis.yml b/.travis.yml index 9eb0637..a90426e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,9 +7,9 @@ python: - "pypy" # command to install dependencies install: - - "pip install coveralls --use-mirrors" - - "pip install nose --use-mirrors" - - "pip install mock --use-mirrors" + - "pip install coveralls" + - "pip install nose" + - "pip install mock" # command to run tests script: # - "python setup.py nosetests --cover-package=uiautomator --with-coverage --cover-erase" diff --git a/test/test_server.py b/test/test_server.py index e5e7169..011cbbb 100644 --- a/test/test_server.py +++ b/test/test_server.py @@ -50,7 +50,7 @@ def test_start_success(self): server.ping.return_value = "pong" server.adb = MagicMock() server.start() - server.adb.cmd.assert_valled_onec_with('shell', 'uiautomator', 'runtest', 'bundle.jar', 'uiautomator-stub.jar', '-c', 'com.github.uiautomatorstub.Stub') + server.adb.cmd.assert_called_once_with('shell', 'uiautomator', 'runtest', 'bundle.jar', 'uiautomator-stub.jar', '-c', 'com.github.uiautomatorstub.Stub') def test_start_error(self): server = AutomatorServer()