Update test_feature_flags.py

This commit is contained in:
zandercymatics 2024-05-01 09:38:09 -06:00
parent 8e13a305d5
commit 85ed218010
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7

View file

@ -15,9 +15,11 @@ class TestFeatureFlags(TestCase):
self.client = Client(HTTP_HOST="localhost:8080")
self.factory = RequestFactory()
self.superuser = create_superuser()
# For testing purposes, lets flag this as false.
# For testing purposes, lets set this to false.
self.superuser.is_staff = False
self.superuser.save()
self.staffuser = create_staffuser()
self.user = create_user()