Skip to content

Commit 2b15a3f

Browse files
Updated the people_test.py file.
Added some detail in comments about soft_assertion in assertpy module.
1 parent b03930b commit 2b15a3f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/people_test.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
def test_read_all_has_kent():
1111
# We use requests.get() with url to make a get request
1212
response = requests.get(BASE_URI)
13-
# Added the soft_assertions() - we use this when we want our Test to run successfully (means failing one test won't
14-
# stop the Test script's execution). Collect all the failures, consolidate all the errors and return all the test
15-
# failures in last.
13+
# Added the soft_assertions() - we use this when we want our Tests to run successfully (means failing one test won't
14+
# stop the Test script's execution). It will Collect all the failed tests, consolidate all of them with the errors
15+
# and return all the failed test failures in last with the failure messages.
1616
with soft_assertions():
1717
# response from requests has many useful properties
1818
# we can assert on the response status code

0 commit comments

Comments
 (0)