Fix incorrect test

This commit is contained in:
Raphael Michel
2019-04-02 11:30:47 +02:00
parent b261a2041a
commit 1f672e7df2

View File

@@ -80,4 +80,4 @@ def test_revoke_device(event, admin_user, admin_team, device, client):
client.get('/control/organizer/dummy/device/{}/revoke'.format(device.pk))
client.post('/control/organizer/dummy/device/{}/revoke'.format(device.pk), {}, follow=True)
device.refresh_from_db()
assert device.api_token is None
assert device.revoked