diff --git a/test/registry_tests.py b/test/registry_tests.py index cba8fa87d..4300f2df9 100644 --- a/test/registry_tests.py +++ b/test/registry_tests.py @@ -68,11 +68,16 @@ class TestFeature(object): data=json.dumps(dict(value=self.old_value)), headers={'Content-Type': 'application/json'}) +_PORT_NUMBER = 5001 + class RegistryTestCase(LiveServerTestCase): maxDiff = None def create_app(self): + global _PORT_NUMBER + _PORT_NUMBER = _PORT_NUMBER + 1 app.config['TESTING'] = True + app.config['LIVESERVER_PORT'] = _PORT_NUMBER return app def setUp(self):