File tree 2 files changed +3
-3
lines changed
12-Rand-From-One-to-Twelve
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -34,4 +34,4 @@ def test_function_called_for():
34
34
with open (path , 'r' ) as content_file :
35
35
content = content_file .read ()
36
36
regex = re .compile (r"print\s*\(\s*get_randomInt\s*\(\s*\)\s*\)" )
37
- assert bool (regex .search (content )) == True
37
+ assert bool (regex .search (content )) == True
Original file line number Diff line number Diff line change 10
10
11
11
@pytest .mark .it ('The function spin_chamber must exist' )
12
12
def test_function_spin_chamber (capsys , app ):
13
- assert app .spin_chamber ()
13
+ assert app .spin_chamber
14
14
15
15
@pytest .mark .it ('The function fire_gun must exist' )
16
16
def test_function_fire_gun (capsys , app ):
17
- assert app .fire_gun ()
17
+ assert app .fire_gun
18
18
19
19
@pytest .mark .it ('The function fire_gun should return the expected output in both cases' )
20
20
def test_function_output (capsys , app ):
You can’t perform that action at this time.
0 commit comments