示例#1
0
 def test_has_icon_in_manifest(self, get_manifest_json):
     webapp = Webapp()
     get_manifest_json.return_value = {'icons': {}}
     eq_(webapp.has_icon_in_manifest(), True)
示例#2
0
 def test_has_icon_in_manifest(self, get_manifest_json):
     webapp = Webapp()
     get_manifest_json.return_value = {}
     eq_(webapp.has_icon_in_manifest(), False)