def test_addon_type_fails_when_addon_is_not_in_results(self, testsetup): addons_xml = AddOnsAPI(testsetup) try: Assert.raises(AttributeError, addons_xml.get_addon_type_id("Firepug")) except AssertionError: pass
def test_that_firebug_addon_type_id_is_1(self, testsetup): """Testcase for Litmus 15316""" addon_xml = AddOnsAPI(testsetup) Assert.equal("1", addon_xml.get_addon_type_id("Firebug"))