Closed andrii-matviichuk closed 4 years ago
@AndrewMatviichuk Udało Ci się rozwiązać problem?
@AndrewMatviichuk Udało Ci się rozwiązać problem?
Tak. Problem był w tym, że nie poprawnie obsługiwał ciasteczka. Możesz zobaczyć mój kod na mojej stronie github.
Rzeczywiście! U mnie problem był podobny. Bardzo dziękuję!
Mam pytanie, dlaczego poniższy kod nie przechodzi testów? Zrobiłem dużo testów u Postmanie i wszystko, co opisano w treści zadnia działa, ale jednak nie przechodzi mi testów. Mam taki komunikat o błędzie:
post_delete_patient No message from your teacher More info Traceback (most recent call last): File "/home/runner/unit_tests.py", line 79, in test_post_delete_patient self.assertTrue(r2.status_code in (300, 301, 302, 307)) AssertionError: False is not true
number of patients should be greater of 0 More info Traceback (most recent call last): File "/home/runner/unit_tests.py", line 49, in test_get_patients self.assertTrue(r2.status_code in (300, 301, 302, 307)) AssertionError: False is not true