Skip to content

Commit

Permalink
Merge pull request #3279 from eltociear/patch-5
Browse files Browse the repository at this point in the history
Update server_test.py
  • Loading branch information
dlstadther authored Aug 26, 2024
2 parents 9e0898e + 4951d16 commit 4ce1a8c
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 beging 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 4ce1a8c

Please sign in to comment.