def setUp(self): app = create_app(ConfigWithChangedRoot()) print app.url_map self.client = app.test_client() self.mapper = ClassCollector('control_face/tests/test_env', ControlCommand).mapper() app.config['MAPPER'] = self.mapper app.config['TESTING'] = True
def setUp(self): self.client = app.test_client() self.mapper = ClassCollector('control_face/tests/test_env', ControlCommand).mapper() app.config['MAPPER'] = self.mapper app.config['TESTING'] = True