Skip to content

Commit 62ace9a

Browse files
Merge pull request 4GeeksAcademy#62 from bryanstgarcia/master
🐞 Fixes test bugs
2 parents 9f6d1cf + 5bda408 commit 62ace9a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

exercises/12-Rand-From-One-to-Twelve/test.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ def test_function_called_for():
3434
with open(path, 'r') as content_file:
3535
content = content_file.read()
3636
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

exercises/17-Russian-Roulette/test.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010

1111
@pytest.mark.it('The function spin_chamber must exist')
1212
def test_function_spin_chamber(capsys, app):
13-
assert app.spin_chamber()
13+
assert app.spin_chamber
1414

1515
@pytest.mark.it('The function fire_gun must exist')
1616
def test_function_fire_gun(capsys, app):
17-
assert app.fire_gun()
17+
assert app.fire_gun
1818

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

0 commit comments

Comments
 (0)