@@ -16,15 +16,15 @@ def test_for_print(capsys):
16
16
regex2 = re .compile (r"elif\s*" )
17
17
assert bool (regex2 .search (content )) == True
18
18
19
- @pytest .mark .it ("Between 101 and 199 guests sould be priced 15,000" )
19
+ @pytest .mark .it ("Between 101 and 200 guests sould be priced 15,000" )
20
20
def test__between_100_and_200 (capsys , app ):
21
- with mock .patch ('builtins.input' , lambda x : 199 ):
21
+ with mock .patch ('builtins.input' , lambda x : 200 ):
22
22
app ()
23
23
captured = capsys .readouterr ()
24
24
price = 15000
25
25
assert "Your wedding will cost " + str (price )+ " dollars\n " in captured .out
26
26
27
- @pytest .mark .it ("Between 100 and 51 guests sould be priced 10,000" )
27
+ @pytest .mark .it ("Between 51 and 100 guests sould be priced 10,000" )
28
28
def test_between_101_and_51 (capsys , app ):
29
29
with mock .patch ('builtins.input' , lambda x : 100 ):
30
30
app ()
@@ -35,7 +35,7 @@ def test_between_101_and_51(capsys, app):
35
35
36
36
@pytest .mark .it ("Less than 50 guests sould be priced 4,000" )
37
37
def test_less_than_50 (capsys , app ):
38
- with mock .patch ('builtins.input' , lambda x : 49 ):
38
+ with mock .patch ('builtins.input' , lambda x : 50 ):
39
39
app ()
40
40
captured = capsys .readouterr ()
41
41
price = 4000
0 commit comments