Skip to content

Commit

Permalink
fix: use celery properly
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnagro committed Oct 3, 2023
1 parent e5a5bcc commit abe673a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ def handle(self, *args, **options):
Compare the Enterprise Catalog Query results to our own Catalog Filter vai task
"""
logger.info("compare_catalog_queries_to_filters queuing task...")
compare_catalog_queries_to_filters_task.s()
compare_catalog_queries_to_filters_task.apply_async()
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ def test_update_content_metadata_for_all_queries(
"""
call_command(self.command_name)
compare_catalog_queries_to_filters_task()
mock_compare_catalog_queries_to_filters_task.s.assert_called_once()
mock_compare_catalog_queries_to_filters_task.apply_async.assert_called_once()

0 comments on commit abe673a

Please sign in to comment.