counter: fix tests

This commit is contained in:
Skia 2018-06-07 19:57:56 +02:00
parent eae7825260
commit f2106a37a3

View File

@ -60,7 +60,7 @@ class CounterTest(TestCase):
location = response.get('location') location = response.get('location')
response = self.client.get(response.get('location')) response = self.client.get(response.get('location'))
self.assertTrue('<p>Richard Batsbak</p>' in str(response.content)) self.assertTrue('>Richard Batsbak</' in str(response.content))
response = self.client.post(location, { response = self.client.post(location, {
'action': 'refill', 'action': 'refill',