more than 12 test ok

This commit is contained in:
2025-07-03 15:25:21 +02:00
parent 524c4ca028
commit 691392988f
5 changed files with 5 additions and 7 deletions

View File

@@ -23,7 +23,6 @@ class TestPlaces:
def test_should_refuse_more_than_12(self, client, club1):
club1.update({"places": 13})
response = client.post('/puchasePlaces', data=club1)
print(response.data)
response = client.post('/purchasePlaces', data=club1)
soup = BeautifulSoup(response.data, "html.parser")
assert "You can't book more than 12 places" == soup.li.text