Improve payment method tests

This commit is contained in:
Raphael Michel
2016-11-17 23:39:15 +01:00
parent a6f164c07e
commit ddb2b44496
4 changed files with 27 additions and 6 deletions

View File

@@ -27,3 +27,4 @@ def test_settings(env):
client, event = env
response = client.get('/control/event/%s/%s/settings/payment' % (event.organizer.slug, event.slug), follow=True)
assert response.status_code == 200
assert 'paypal__enabled' in response.rendered_content