diff --git a/django_freeradius/tests/base/test_models.py b/django_freeradius/tests/base/test_models.py
index <HASH>..<HASH> 100644
--- a/django_freeradius/tests/base/test_models.py
+++ b/django_freeradius/tests/base/test_models.py
@@ -187,7 +187,7 @@ class BaseTestRadiusGroup(object):
             self.fail('ProtectedError not raised')
 
     def test_undefault_group(self):
-        group = self.radius_group_model.objects.get(default=1)
+        group = self.radius_group_model.objects.get(default=True)
         group.default = False
         try:
             group.full_clean()
[qa] Minor cleanup in test (1 > True)