File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -12,19 +12,19 @@ def test_import_random():
1212def 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' )
1616def test_function_return (capsys , app ):
1717 assert app .car_route (659 , 1857 ) != None
1818
1919@pytest .mark .it ('The function must return a number' )
2020def 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' )
2424def 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' )
2828def test_for_file_output2 (capsys , app ):
2929 assert app .car_route (20 , 900 ) == 45
3030
You can’t perform that action at this time.
0 commit comments