API -тестирование с Python
// use pytest and requests
import pytest
import requests
def index():
return requests.get("http://google.com").status
def test_index():
assert index() == 200
John Appleseed