diff --git a/clubs.json b/clubs.json
index 46bed31..b3800e6 100644
--- a/clubs.json
+++ b/clubs.json
@@ -7,10 +7,10 @@
{
"name":"Iron Temple",
"email": "admin@irontemple.com",
- "points":"47"
+ "points":"4"
},
{ "name":"She Lifts",
"email": "kate@shelifts.co.uk",
"points":"12"
}
-]}
\ No newline at end of file
+]}
diff --git a/server.py b/server.py
index 771887f..96efd7c 100644
--- a/server.py
+++ b/server.py
@@ -53,7 +53,6 @@ def purchasePlaces():
else:
places = {competition['name']: placesRequired}
points = int(club['points'])
- print("booked", places)
if placesRequired <= 12:
if places[competition['name']] <= 12:
if placesRequired <= points:
diff --git a/templates/welcome.html b/templates/welcome.html
index 8289e70..bfecda3 100644
--- a/templates/welcome.html
+++ b/templates/welcome.html
@@ -15,7 +15,7 @@
{% endfor %}
{% endif%}
- Points available: {{club['points']}}
+ Points available: {{club['points']}}
Competitions:
{% for comp in competitions%}
diff --git a/tests/conftest.py b/tests/conftest.py
index 2c757bd..356d5f4 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -6,6 +6,7 @@ from bs4 import BeautifulSoup
EMAIL1 = "admin@irontemple.com"
EMAIL2 = "john@simplylift.co"
+
@pytest.fixture
def club1():
data = {"competition": "Spring Festival", "club": "Iron Temple"}
@@ -27,4 +28,3 @@ def connect(client):
soup = BeautifulSoup(response.data, 'html.parser')
return soup
-
diff --git a/tests/test_purchase.py b/tests/test_purchase.py
index 27733f3..8fbe211 100644
--- a/tests/test_purchase.py
+++ b/tests/test_purchase.py
@@ -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