Skip to content
Snippets Groups Projects
Commit 70661839 authored by Sebastian Lobinger's avatar Sebastian Lobinger
Browse files

add path checking according to issue #20 to test_simple_proxy_forwarding

parent aab76a26
No related branches found
No related tags found
1 merge request!15Resolve "Basis-Pfad (/) bei API über Proxy nicht aufrufbar"
......@@ -219,7 +219,7 @@ class TestSAMSAppWithThreadedApi(unittest.TestCase):
self.flaskApp.register_blueprint(testApp.blueprint)
self.assertGreater(len(list(self.flaskApp.url_map.iter_rules())), 1)
eprint(self.flaskApp.url_map)
for path in ('/api/hello', '/api'):
for path in ('/api/hello', '/api/'):
with self.subTest(path):
with self.flaskApp.test_client(self) as client:
response = client.get(path)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment