diff --git a/raygun_django_middleware/__init__.py b/raygun_django_middleware/__init__.py
index <HASH>..<HASH> 100644
--- a/raygun_django_middleware/__init__.py
+++ b/raygun_django_middleware/__init__.py
@@ -18,8 +18,9 @@ class RaygunMiddleware(object):
         raygunRequest = self._mapRequest(request)
 
         # checking debug is what's different from raygun's provided middleware
-        if settings.DEBUG:
-            logger.debug("Not sending error to raygun because DEBUG. request to send = \n%s" % pprint.pformat(raygunRequest))
+        is_unittesting = settings.IS_UNIT_TESTING if hasattr(settings, 'IS_UNIT_TESTING') else False
+        if settings.DEBUG or is_unittesting:
+            logger.debug("Not sending error to raygun because DEBUG or IS_UNIT_TESTING. request to send = \n%s" % pprint.pformat(raygunRequest))
         else:
             self.sender.send_exception(exception=exception, request=raygunRequest)
 
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
 
 setup(
     name="raygun-django-middleware",
-    version="1.0",
+    version="1.0.1",
     description="Raygun Django Middleware",
     author="Mirus Research",
     author_email="frank@mirusresearch.com",
don't send raygun error if unittesting