Skip to content

Commit

Permalink
Refactor: fixing test name
Browse files Browse the repository at this point in the history
Co-authored-by: Graham Herceg <[email protected]>
  • Loading branch information
jingcheng16 and gherceg authored Sep 17, 2024
1 parent 4a6b882 commit 2359fd5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions corehq/apps/api/tests/test_user_updates.py
Original file line number Diff line number Diff line change
Expand Up @@ -394,13 +394,13 @@ def test_update_location_logs_change(self):
user_change_logger=self.user_change_logger)
self.assertIn(LOCATION_FIELD, self.user_change_logger.change_messages.keys())

def test_update_location_without_include_location_fields_does_not_log_no_change(self):
def test_update_location_without_include_location_fields_does_not_log_change(self):
update(self.user, 'location',
{'primary_location': None, 'locations': None},
user_change_logger=self.user_change_logger)
self.assertNotIn(LOCATION_FIELD, self.user_change_logger.change_messages.keys())

def test_update_location_with_current_locations_does_not_log_no_change(self):
def test_update_location_with_current_locations_does_not_log_change(self):
self.user.set_location(self.loc2)
self.user.set_location(self.loc1)
update(self.user, 'location',
Expand Down

0 comments on commit 2359fd5

Please sign in to comment.