Skip to content

Commit

Permalink
Refactor tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ShishckovA committed Nov 1, 2023
1 parent cebc031 commit 27fd41a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions back-end/src/common/tests/test_subjects.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ def test_get_subject_by_id(
assert subject_get_response.status_code == 200

subject_get_response = subject_get_response.json()
print(subject_get_response, subj_data)
assert subject_get_response == subj_data


Expand Down Expand Up @@ -82,5 +81,4 @@ def test_get_subjects_by_search(
subject_response_get = subject_response_get.json()
assert len(subject_response_get) >= 1
for subject in subject_response_get:
print(subject)
assert subject["title"].find(word) != -1

0 comments on commit 27fd41a

Please sign in to comment.