From 80b044580d4344bdcaf6cccf7d4a8e4f3fa43214 Mon Sep 17 00:00:00 2001 From: Matthew Jones Date: Mon, 27 Jun 2016 15:11:56 -0400 Subject: [PATCH] Fix up flake8 for notification tests --- awx/main/tests/functional/test_notifications.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/awx/main/tests/functional/test_notifications.py b/awx/main/tests/functional/test_notifications.py index babef90290..e5494edbea 100644 --- a/awx/main/tests/functional/test_notifications.py +++ b/awx/main/tests/functional/test_notifications.py @@ -117,8 +117,8 @@ def test_notification_template_invalid_notification_type(patch, notification_tem def test_disallow_delete_when_notifications_pending(delete, user, notification_template): u = user('superuser', True) url = reverse('api:notification_template_detail', args=(notification_template.id,)) - n = Notification.objects.create(notification_template=notification_template, - status='pending') + Notification.objects.create(notification_template=notification_template, + status='pending') response = delete(url, user=u) assert response.status_code == 405