Bug 802753 - remove assertIn so test_getstatus is python 2.6 compatible, r=jgriffin
authorMalini Das <mdas@mozilla.com>
Wed, 17 Oct 2012 16:49:49 -0400
changeset 110587 130f0da363c80d3e535e3188aa9c36c01f83cf4e
parent 110586 6d06541f4b2705f133acb2e60ef3e7e922c3883c
child 110588 a8ff177abfbe71368cb5963b316f1cd5879402e4
push id23700
push userryanvm@gmail.com
push dateThu, 18 Oct 2012 02:10:26 +0000
treeherdermozilla-central@5142bbd4da12 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjgriffin
bugs802753
milestone19.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 802753 - remove assertIn so test_getstatus is python 2.6 compatible, r=jgriffin
testing/marionette/client/marionette/tests/unit/test_getstatus.py
testing/marionette/client/marionette/venv_test.sh
--- a/testing/marionette/client/marionette/tests/unit/test_getstatus.py
+++ b/testing/marionette/client/marionette/tests/unit/test_getstatus.py
@@ -2,18 +2,18 @@
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 from marionette_test import MarionetteTestCase
 
 class TestGetStatus(MarionetteTestCase):
     def test_getStatus(self):
         status = self.marionette.status()
-        self.assertIn("os", status)
+        self.assertTrue("os" in status)
         status_os = status['os']
-        self.assertIn("version", status_os)
-        self.assertIn("name", status_os)
-        self.assertIn("arch", status_os)
-        self.assertIn("build", status)
+        self.assertTrue("version" in status_os)
+        self.assertTrue("name" in status_os)
+        self.assertTrue("arch" in status_os)
+        self.assertTrue("build" in status)
         status_build = status['build']
-        self.assertIn("revision", status_build)
-        self.assertIn("time", status_build)
-        self.assertIn("version", status_build)
+        self.assertTrue("revision" in status_build)
+        self.assertTrue("time" in status_build)
+        self.assertTrue("version" in status_build)
old mode 100644
new mode 100755