def test_anonymous_user(self):
        anon_user = AnonymousUser()
        with self.assertRaises(ImproperlyConfigured):
            subscriber_has_active_subscription(anon_user)
This needs to throw an ImproperlyConfigured error so the developer
dataset/ETHPy150Open pydanny/dj-stripe/tests/test_utils.py/TestUserHasActiveSubscription.test_anonymous_user