Skip to content

Commit

Permalink
tests/classifications: adapt tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Rine committed Apr 27, 2021
1 parent def3e17 commit 642f281
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/classifications/test_classification_signals.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ def test_ai_classification_receives_post_save_comment_signal(idea,
assert(get_ai_classification in signals.post_save._live_receivers(Comment))
comment_factory(content_object=idea,
comment='lala')
assert('Error connecting to %s' in str(caplog.records[-1]))
assert('No ai api auth token provided.' in str(caplog.records[-1]))

0 comments on commit 642f281

Please sign in to comment.