Skip to content

Commit

Permalink
Merge pull request #364 from arc53/bug/fix-test
Browse files Browse the repository at this point in the history
Fix broken test
  • Loading branch information
dartpain authored Oct 1, 2023
2 parents 2393da4 + 95ab08e commit 11a745c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/test_celery.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ def test_make_celery(mock_celery):
celery = make_celery(app_name)

# Assert
mock_celery.assert_called_once_with(app_name, broker=settings.CELERY_BROKER_URL)
mock_celery.assert_called_once_with(
app_name,
broker=settings.CELERY_BROKER_URL,
backend=settings.CELERY_RESULT_BACKEND
)
celery.conf.update.assert_called_once_with(settings)
assert celery == mock_celery.return_value

2 comments on commit 11a745c

@vercel
Copy link

@vercel vercel bot commented on 11a745c Oct 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nextra-docsgpt – ./docs

nextra-docsgpt-arc53.vercel.app
docs.docsgpt.co.uk
nextra-docsgpt.vercel.app
nextra-docsgpt-git-main-arc53.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 11a745c Oct 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

docs-gpt – ./frontend

docs-gpt-arc53.vercel.app
docs-gpt-brown.vercel.app
docs-gpt-git-main-arc53.vercel.app

Please sign in to comment.