Skip to content

Commit 72182ca

Browse files
authored
Update test.py
1 parent bfef736 commit 72182ca

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

exercises/015-car_route/test.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,19 @@ def test_import_random():
1212
def test_for_functon_existence(capsys, app):
1313
assert callable(app.car_route)
1414

15-
@pytest.mark.it('The function mus return something')
15+
@pytest.mark.it('The function must return something')
1616
def test_function_return(capsys, app):
1717
assert app.car_route(659, 1857) != None
1818

1919
@pytest.mark.it('The function must return a number')
2020
def test_function_return_type(capsys, app):
2121
assert type(app.car_route(659, 1857)) == type(1)
2222

23-
@pytest.mark.it('We tried to pass 20 and 40 as parameter and it did not return 2!')
23+
@pytest.mark.it('We tried to pass 20 and 40 as parameter and it did not return 2')
2424
def test_for_file_output(capsys, app):
2525
assert app.car_route(20, 40) == 2
2626

27-
@pytest.mark.it('We tried to pass 20 and 900 as parameter and it did not return 45!')
27+
@pytest.mark.it('We tried to pass 20 and 900 as parameter and it did not return 45')
2828
def test_for_file_output2(capsys, app):
2929
assert app.car_route(20, 900) == 45
3030

0 commit comments

Comments
 (0)