Skip to content

Commit 21a8982

Browse files
author
romain.mariotti
committed
Fixed unit tests
1 parent b7020b1 commit 21a8982

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_handler.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ def test_root_path(self):
88
event = {"path": "/", "httpMethod": "GET"}
99
response = handle(event, {})
1010
self.assertEqual(response['statusCode'], 200)
11-
self.assertEqual(response['body'], '{"message": "Welcome to the API main!"}')
11+
self.assertEqual(response['body'], '{"message": "Welcome to the API TeamRomain!"}')
1212

1313
def test_hello_path(self):
1414
event = {"path": "/hello", "httpMethod": "GET"}
1515
response = handle(event, {})
1616
self.assertEqual(response['statusCode'], 200)
17-
self.assertEqual(response['body'], '{"message": "Hello main!"}')
17+
self.assertEqual(response['body'], '{"message": "Hello TeamRomain!"}')
1818

1919
def test_not_found_path(self):
2020
event = {"path": "/unknown", "httpMethod": "GET"}

0 commit comments

Comments
 (0)