Skip to content

Commit 9cc046a

Browse files
authored
Merge pull request #52 from NativeScript/pkoleva/fix-run-device-suites
Updated DepoyAndroid suite test 401 assertion
2 parents 382b208 + ef949de commit 9cc046a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/run/device/DeployAndroid_Tests.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,9 @@ def test_300_deploy_android_platform_not_added(self):
107107
assert device_id in output
108108

109109
def test_401_deploy_invalid_platform(self):
110-
output = Tns.run_tns_command("deploy " + invalid, attributes={"--path": self.app_name,
111-
"--justlaunch": ""
112-
})
110+
output = Tns.run_tns_command("deploy " + invalid.lower(), attributes={"--path": self.app_name,
111+
"--justlaunch": ""
112+
})
113113
assert "Invalid platform {0}. Valid platforms are ios or android.".format(invalid) in output
114114

115115
def test_402_deploy_invalid_device(self):

0 commit comments

Comments
 (0)