Skip to content

Commit

Permalink
fixed tests take 2
Browse files Browse the repository at this point in the history
  • Loading branch information
mmarcos committed Aug 10, 2017
1 parent 91efbff commit 6c86e8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_articles.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def test_article_list(admin_client, article):

item_dict[field] = value

assert str(item_dict['tags']) == '[<Tag: Tag 0>]'
assert item_dict['tags'][0].term == 'Tag 0'
assert item_dict['category'] == 'Category 0'
assert item_dict['title'] == 'Article 0'
assert item_dict['published'] is False
Expand Down

0 comments on commit 6c86e8f

Please sign in to comment.