예제 #1
0
 def test_manifest_url(self):
     langpack = LangPack(pk='12345678123456781234567812345678')
     eq_(langpack.manifest_url, '')  # Inactive langpack.
     langpack.active = True
     ok_(
         langpack.manifest_url.endswith(
             '/12345678-1234-5678-1234-567812345678/manifest.webapp'))
예제 #2
0
 def test_manifest_url(self):
     langpack = LangPack(pk='12345678123456781234567812345678')
     eq_(langpack.manifest_url, '')  # Inactive langpack.
     langpack.active = True
     ok_(langpack.manifest_url.endswith(
         '/12345678-1234-5678-1234-567812345678/manifest.webapp'))
예제 #3
0
 def test_manifest_url(self):
     langpack = LangPack(pk="12345678123456781234567812345678")
     eq_(langpack.manifest_url, "")  # Inactive langpack.
     langpack.active = True
     ok_(langpack.manifest_url.endswith("/12345678-1234-5678-1234-567812345678/manifest.webapp"))