Files
lab-input-maksktl/tests/test_innodrive.py
T
github-classroom[bot] 1ac2ff12de Initial commit
2024-03-07 07:37:17 +00:00

17 lines
471 B
Python

# This is the template for the InnoDrive e2e and domain and computation test cases.
import pytest
from httpx import Client
@pytest.fixture(scope="module")
def test_app():
client = Client(base_url="https://innodrive.containers.cloud.ru")
yield client # testing happens here
@pytest.mark.parametrize("email", ["i.ivanov@innopolis.university"])
def test_spec(test_app, email):
response = test_app.get("/spec/"+email)
assert response.status_code == 200