Bug 1340584 - Remove test_b2g_fallback_when_no_binary; r=wlach
authorGeoff Brown <gbrown@mozilla.com>
Tue, 21 Mar 2017 12:20:03 -0600
changeset 348788 e5716cc2b1928b6a8a0a61620bc978b2cf952b41
parent 348787 30820b7d399b1c73d4904c18ad39adc4cf828db4
child 348789 7524a513967bb17bf9ff6daaf6ff2872649f01cc
push id31536
push usercbook@mozilla.com
push dateWed, 22 Mar 2017 13:26:47 +0000
treeherdermozilla-central@27f7aadeea83 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerswlach
bugs1340584
milestone55.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 1340584 - Remove test_b2g_fallback_when_no_binary; r=wlach
testing/mozbase/mozversion/tests/test_b2g.py
--- a/testing/mozbase/mozversion/tests/test_b2g.py
+++ b/testing/mozbase/mozversion/tests/test_b2g.py
@@ -7,17 +7,17 @@
 import os
 import tempfile
 import unittest
 import zipfile
 
 import mozunit
 
 import mozfile
-from mozversion import get_version, errors
+from mozversion import get_version
 
 
 class SourcesTest(unittest.TestCase):
     """test getting version information from a sources xml"""
 
     def setUp(self):
         self.tempdir = tempfile.mkdtemp()
 
@@ -65,13 +65,10 @@ class SourcesTest(unittest.TestCase):
         self.assertIsNone(v.get('gaia_date'))
 
     def test_missing_gaia_commit(self):
         self._create_zip()
         v = get_version(self.binary)
         self.assertIsNone(v.get('gaia_changeset'))
         self.assertIsNone(v.get('gaia_date'))
 
-    def test_b2g_fallback_when_no_binary(self):
-        self.assertRaises(errors.RemoteAppNotFoundError, get_version)
-
 if __name__ == '__main__':
     mozunit.main()