Skip to content

Commit

Permalink
Update server_test.py
Browse files Browse the repository at this point in the history
beginning -> begin
  • Loading branch information
eltociear committed Feb 29, 2024
1 parent 60040e6 commit 71108cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/server_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def test_api_404(self):
def test_root_redirect(self):
response = self.fetch("/", follow_redirects=False)
self.assertEqual(response.code, 302)
self.assertEqual(response.headers['Location'], 'static/visualiser/index.html') # assert that doesnt beginning with leading slash !
self.assertEqual(response.headers['Location'], 'static/visualiser/index.html') # assert that doesnt begin with leading slash !

def test_api_preflight_cors_headers(self):
response = self.fetch('/api/graph', method='OPTIONS', headers={'Origin': 'foo'})
Expand Down

0 comments on commit 71108cb

Please sign in to comment.