diff --git a/tests/test_django.py b/tests/test_django.py
index <HASH>..<HASH> 100644
--- a/tests/test_django.py
+++ b/tests/test_django.py
@@ -114,16 +114,14 @@ class WithFileFactory(factory.django.DjangoModelFactory):
     class Meta:
         model = models.WithFile
 
-    if django is not None:
-        afile = factory.django.FileField()
+    afile = factory.django.FileField()
 
 
 class WithImageFactory(factory.django.DjangoModelFactory):
     class Meta:
         model = models.WithImage
 
-    if django is not None:
-        animage = factory.django.ImageField()
+    animage = factory.django.ImageField()
 
 
 class WithSignalsFactory(factory.django.DjangoModelFactory):
Don't test Django's presence in tests

Django is a test requirement, there are import at the top of the
test_django.py file, there's not need to test if django is defined in
the factories.