From 60040e69f1a239f6d5132359b8f1d45fd865cfe3 Mon Sep 17 00:00:00 2001 From: Ikko Eltociear Ashimine Date: Thu, 29 Feb 2024 00:43:01 +0900 Subject: [PATCH 1/2] Update server_test.py beging -> beginning --- test/server_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/server_test.py b/test/server_test.py index 0204532775..43108e56a6 100644 --- a/test/server_test.py +++ b/test/server_test.py @@ -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 beginning with leading slash ! def test_api_preflight_cors_headers(self): response = self.fetch('/api/graph', method='OPTIONS', headers={'Origin': 'foo'}) From 71108cbf28aadc7a519aab4eabb3a60b22bbb21e Mon Sep 17 00:00:00 2001 From: Ikko Eltociear Ashimine Date: Thu, 29 Feb 2024 13:48:20 +0900 Subject: [PATCH 2/2] Update server_test.py beginning -> begin --- test/server_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/server_test.py b/test/server_test.py index 43108e56a6..c191ad4c24 100644 --- a/test/server_test.py +++ b/test/server_test.py @@ -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'})