Пример #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)