Skip to content
This repository has been archived by the owner on Feb 24, 2023. It is now read-only.

Commit

Permalink
improves documentation for ydaniv#29
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke Scott committed Oct 3, 2017
1 parent 85e5314 commit b79f507
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rest_assured/testcases.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ def setUp(self):
"""Generates the user instance if needed and the main object if required."""
self.get_user_factory()

# Avoid creating 2 objects if testing create.
# ```CreateAPITestCaseMixin.get_create_response()```
# Avoid creating 2 objects if testing create. Use
# ```CreateAPITestCaseMixin.get_create_response()``` instead for ```test_create```
if self._testMethodName != 'test_create':
self.object = self.get_object(self.get_factory_class())

Expand Down

0 comments on commit b79f507

Please sign in to comment.