Skip to content

Commit

Permalink
Adjusts list items in readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrii Bespalko committed Oct 9, 2015
1 parent c73a451 commit 8af489a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -266,17 +266,17 @@ iii. Only owner access returns actual article with status 200.
TESTS_CONFIGURATION = (
('articles:article', 404, 'GET',
{'url_kwargs': create_article_without_owner,
'comment': 'Anonymous access to unpublished article.'}), # i
'comment': 'Anonymous access to unpublished article.'}), # 1
('articles:article', 404, 'GET',
{'url_kwargs': create_article_without_owner,
'user_credentials': create_and_return_user_credentials,
'comment': 'Some user access to unpublished article.'}), # ii
'comment': 'Some user access to unpublished article.'}), # 2
('articles:article', 200, 'GET',
{'url_kwargs': create_article_with_its_owner,
'user_credentials': get_owner_credentials,
'comment': 'Owner access to unpublished article.'}), # iii
'comment': 'Owner access to unpublished article.'}), # 3
)
License
Expand Down
6 changes: 3 additions & 3 deletions example_project/test_example_4.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,15 @@ class UnpublishedArticleSmokeTestCase(SmokeTestCase):
TESTS_CONFIGURATION = (
('articles:article', 404, 'GET',
{'url_kwargs': create_article_without_owner,
'comment': 'Anonymous access to unpublished article.'}), # i
'comment': 'Anonymous access to unpublished article.'}), # 1

('articles:article', 404, 'GET',
{'url_kwargs': create_article_without_owner,
'user_credentials': create_and_return_user_credentials,
'comment': 'Some user access to unpublished article.'}), # ii
'comment': 'Some user access to unpublished article.'}), # 2

('articles:article', 200, 'GET',
{'url_kwargs': create_article_with_its_owner,
'user_credentials': get_owner_credentials,
'comment': 'Owner access to unpublished article.'}), # iii
'comment': 'Owner access to unpublished article.'}), # 3
)

0 comments on commit 8af489a

Please sign in to comment.