Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion exercises/12-Rand-From-One-to-Twelve/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ def test_function_called_for():
with open(path, 'r') as content_file:
content = content_file.read()
regex = re.compile(r"print\s*\(\s*get_randomInt\s*\(\s*\)\s*\)")
assert bool(regex.search(content)) == True
assert bool(regex.search(content)) == True
4 changes: 2 additions & 2 deletions exercises/17-Russian-Roulette/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@

@pytest.mark.it('The function spin_chamber must exist')
def test_function_spin_chamber(capsys, app):
assert app.spin_chamber()
assert app.spin_chamber

@pytest.mark.it('The function fire_gun must exist')
def test_function_fire_gun(capsys, app):
assert app.fire_gun()
assert app.fire_gun

@pytest.mark.it('The function fire_gun should return the expected output in both cases')
def test_function_output(capsys, app):
Expand Down