mirror of
https://github.com/QualityInUse/lab-input-maksktl.git
synced 2026-08-05 13:35:27 +03:00
17 lines
471 B
Python
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
|