@@ -16,15 +16,15 @@ def test_for_print(capsys):
1616 regex2 = re .compile (r"elif\s*" )
1717 assert bool (regex2 .search (content )) == True
1818
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" )
2020def 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 ):
2222 app ()
2323 captured = capsys .readouterr ()
2424 price = 15000
2525 assert "Your wedding will cost " + str (price )+ " dollars\n " in captured .out
2626
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" )
2828def test_between_101_and_51 (capsys , app ):
2929 with mock .patch ('builtins.input' , lambda x : 100 ):
3030 app ()
@@ -35,7 +35,7 @@ def test_between_101_and_51(capsys, app):
3535
3636@pytest .mark .it ("Less than 50 guests sould be priced 4,000" )
3737def test_less_than_50 (capsys , app ):
38- with mock .patch ('builtins.input' , lambda x : 49 ):
38+ with mock .patch ('builtins.input' , lambda x : 50 ):
3939 app ()
4040 captured = capsys .readouterr ()
4141 price = 4000
0 commit comments