Commits

Kelvin Wong committed 9648fa5 Draft

Rename Django 1.5 constant to DJANGO15

  • Participants
  • Parent commits 3037132

Comments (0)

Files changed (1)

tests/test_django_scrypt.py

 
 
 PYTHON3 = sys.version_info >= (3, 0)
-is_django_15 = (django.VERSION > (1, 5, 0) and django.VERSION < (1, 6, 0))
+DJANGO15 = (django.VERSION > (1, 5, 0) and django.VERSION < (1, 6, 0))
 
 
 def utf8(b):
             self.assertTrue(check_password(self.password, encoded, setter))
             self.assertTrue(state['upgraded'])
 
-    @skipUnless(is_django_15, "Test requires Django 1.5")
+    @skipUnless(DJANGO15, "Test requires Django 1.5")
     def test_upgrade_14_to_15(self):
         """Hash encoded with Django 1.4 works with Django 1.5"""
         django_14_hash = utf8(