Skip to content

Commit

Permalink
Update test to clear SelfSignupWorkflow
Browse files Browse the repository at this point in the history
  • Loading branch information
nospame committed Oct 22, 2024
1 parent d6596d5 commit cf2c0da
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions corehq/apps/registration/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ def setUp(self):
self.client.force_login(self.user.get_django_user())
self.client.defaults.update({'plan': DefaultProductPlan.get_default_plan_version()})

def tearDown(self):
SelfSignupWorkflow.get_in_progress_for_domain.reset_cache(self.domain.name)
super().tearDown()

def create_registration_request(self, guid):
reg_request = RegistrationRequest.objects.create(
request_time=datetime.now(),
Expand Down

0 comments on commit cf2c0da

Please sign in to comment.