Ensure default values for REFINE_{HOST,PORT}

This commit is contained in:
Paul Makepeace 2011-05-27 01:55:58 +01:00
parent 31e30df5bd
commit 36beb59d15
1 changed files with 4 additions and 1 deletions

View File

@ -74,6 +74,9 @@ class RefineProjectTest(unittest.TestCase):
def tearDown(self): def tearDown(self):
# Restore mocked get_models # Restore mocked get_models
refine.RefineProject.get_models = self._get_models refine.RefineProject.get_models = self._get_models
# Ensure default values for REFINE_{HOST,PORT}
refine.REFINE_HOST='127.0.0.1'
refine.REFINE_PORT='3333'
if __name__ == '__main__': if __name__ == '__main__':