Esempio n. 1
0
 def test_addon_version_number_fails_when_addon_is_not_in_results(
         self, testsetup):
     addons_xml = AddOnsAPI(testsetup)
     Assert.raises(AttributeError,
                   addons_xml.get_addon_version_number("Firepug"))
Esempio n. 2
0
 def test_get_version_number(self, testsetup):
     addons_xml = AddOnsAPI(testsetup)
     Assert.equal(
         "1.1.6",
         addons_xml.get_addon_version_number(
             "Illuminations for Developers for Firebug"))
Esempio n. 3
0
 def test_addon_version_number_fails_when_addon_is_not_in_results(self, testsetup):
     addons_xml = AddOnsAPI(testsetup)
     Assert.raises(AttributeError, addons_xml.get_addon_version_number("Firepug"))
Esempio n. 4
0
 def test_get_version_number(self, testsetup):
     addons_xml = AddOnsAPI(testsetup)
     Assert.equal("1.1.6", addons_xml.get_addon_version_number("Illuminations for Developers for Firebug"))
Esempio n. 5
0
 def test_firebug_version_number(self, testsetup):
     """Testcase for Litmus 15317"""
     addon_xml = AddOnsAPI(testsetup)
     Assert.equal("1.8.0", addon_xml.get_addon_version_number("Firebug"))
Esempio n. 6
0
 def test_firebug_version_number(self, mozwebqa):
     """Testcase for Litmus 15317"""
     addon_xml = AddOnsAPI(mozwebqa)
     Assert.equal("1.8.2", addon_xml.get_addon_version_number("Firebug"))