From 02486602145267a7946eb615560fd283e250b475 Mon Sep 17 00:00:00 2001 From: stv Date: Mon, 16 Feb 2015 08:16:03 -0800 Subject: [PATCH] Fix Pylint: W0631(undefined-loop-variable) --- lms/djangoapps/verify_student/tests/test_models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/djangoapps/verify_student/tests/test_models.py b/lms/djangoapps/verify_student/tests/test_models.py index 44ab2ebc0f..f5e613b101 100644 --- a/lms/djangoapps/verify_student/tests/test_models.py +++ b/lms/djangoapps/verify_student/tests/test_models.py @@ -311,7 +311,7 @@ class TestPhotoVerification(TestCase): attempt.status = "approved" attempt.save() - assert_true(SoftwareSecurePhotoVerification.user_is_verified(user), status) + assert_true(SoftwareSecurePhotoVerification.user_is_verified(user), attempt.status) def test_user_has_valid_or_pending(self): """