Exemple #1
0
 def test_warmup(self):
     """Ensure api.warmup() fetches AuthDB into process-global cache."""
     self.assertFalse(api._auth_db)
     api.warmup()
     self.assertTrue(api._auth_db)
Exemple #2
0
 def test_warmup(self):
     """Ensure api.warmup() fetches AuthDB into process-global cache."""
     self.assertFalse(api._auth_db)
     api.warmup()
     self.assertTrue(api._auth_db)