Skip to content

Commit

Permalink
removes superfluous prioritize routes
Browse files Browse the repository at this point in the history
  • Loading branch information
WolfgangFahl committed Sep 14, 2022
1 parent 6fd7401 commit fa0f4f7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/test_issue531.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ def hello_world(_request):
_d = jp.Div(text='I am justpy webpage', a=wp)
return wp

self.app.prioritize_routes()
#self.app.prioritize_routes()
_response=self.checkResponse("/webpage",debug=False)
self.assertIn("Bad Session", _response.text)
2 changes: 1 addition & 1 deletion tests/test_middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class TestMiddleWare(BaseClienttest):

def setUp(self, debug=False, profile=True):
BaseClienttest.setUp(self, debug=debug, profile=profile)
self.app.prioritize_routes()
#self.app.prioritize_routes()

def test_middleware(self):
"""
Expand Down
2 changes: 1 addition & 1 deletion tests/test_route.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class TestRouteAndUrlFor(BaseClienttest):

def setUp(self, debug=False, profile=True):
BaseClienttest.setUp(self, debug=debug, profile=profile)
self.app.prioritize_routes()
#self.app.prioritize_routes()

def testStarletteRoutes(self):
"""
Expand Down

0 comments on commit fa0f4f7

Please sign in to comment.