def testGetAppRevisionWithNoEntry(self): environ = {} self.assertEqual(None, apiserving._get_app_revision(environ=environ))
def testGetAppRevision(self): environ = {'CURRENT_VERSION_ID': '1.1'} self.assertEqual('1', apiserving._get_app_revision(environ=environ))