def setUp(self): self.test_site = test_site AutocompleteTestCase.setUp(self) test_site.flush()
def tearDown(self): listeners.site = self._orig_site AutocompleteTestCase.tearDown(self)
def setUp(self): self.test_site = test_site AutocompleteTestCase.setUp(self)
def setUp(self): self._orig_site = listeners.site listeners.site = test_site AutocompleteTestCase.setUp(self)