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():
12
12
def test_for_functon_existence (capsys , app ):
13
13
assert callable (app .car_route )
14
14
15
- @pytest .mark .it ('The function mus return something' )
15
+ @pytest .mark .it ('The function must return something' )
16
16
def test_function_return (capsys , app ):
17
17
assert app .car_route (659 , 1857 ) != None
18
18
19
19
@pytest .mark .it ('The function must return a number' )
20
20
def test_function_return_type (capsys , app ):
21
21
assert type (app .car_route (659 , 1857 )) == type (1 )
22
22
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' )
24
24
def test_for_file_output (capsys , app ):
25
25
assert app .car_route (20 , 40 ) == 2
26
26
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' )
28
28
def test_for_file_output2 (capsys , app ):
29
29
assert app .car_route (20 , 900 ) == 45
30
30
You can’t perform that action at this time.
0 commit comments