There was an error while loading. Please reload this page.
2 parents 95ffa34 + d286c13 commit be3a0b3Copy full SHA for be3a0b3
exercises/19-Bottles-Of-Milk/app.py
@@ -0,0 +1 @@
1
+# YOUR CODE HERE
exercises/19-Bottles-Of-Milk/test.py
@@ -9,7 +9,10 @@
9
10
@pytest.mark.it('The function number_of_bottles must exist')
11
def test_function_spin_chamber(capsys, app):
12
- assert app.number_of_bottles
+ try:
13
+ app.number_of_bottles
14
+ except AttributeError:
15
+ raise AttributeError("The function number_of_bottles should exist")
16
17
@pytest.mark.it('The function must return the expected output')
18
def test_for_function_output(capsys):
0 commit comments