Skip to content

Commit

Permalink
Updated cleanup functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
jmitchel3 committed Jan 3, 2025
1 parent c31a625 commit 9ad5b80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/discovery/test_fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def test_field_initialization(self):
expected_choices = [
(
"tests.discovery.tasks.custom_name_task",
"Custom Name Task (tests.discovery.tasks.custom_name_task)",
"Custom Name Task (tests.discovery.tasks)",
),
(
"tests.discovery.tasks.debug_task",
Expand All @@ -39,7 +39,7 @@ def test_get_task(self):
field = TaskChoiceField()

# Set value using bound field data
field.data = "Custom Name Task (tests.discovery.tasks.custom_name_task)"
field.data = "Custom Name Task (tests.discovery.tasks)"

# Should return the actual task path
self.assertEqual(field.get_task(), "tests.discovery.tasks.custom_name_task")
Expand Down

0 comments on commit 9ad5b80

Please sign in to comment.