Ejemplo n.º 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)
Ejemplo n.º 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)