Skip to content

Commit c6883a5

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

File tree

3 files changed

+56
-47
lines changed

3 files changed

+56
-47
lines changed

Pipfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ pytest = "*"
1111
assertpy = "*"
1212

1313
[requires]
14-
python_version = "3.9"
14+
python_version = "3.10"

Pipfile.lock

Lines changed: 54 additions & 45 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/people_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def test_read_all_has_kent():
2020
# We can get python dict as response by using .json() method
2121
response_content = response.json()
2222

23-
# Use assertpy's fluent assertions to extract all fnames and then see the result is non empty and has
23+
# Use assertpy's fluent assertions to extract all fnames and then see the result is non-empty and has
2424
# Kent in it.
2525
assert_that(response_content).extracting('fname').is_not_empty().contains('Kent')
2626

0 commit comments

Comments
 (0)