Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial refactor of SystemRepo & Service unit tests #302 #299

Merged
merged 10 commits into from
Jun 25, 2024
2 changes: 1 addition & 1 deletion test/e2e/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
Module providing test fixtures for the e2e tests.
"""

from typing import Optional
from test.conftest import VALID_ACCESS_TOKEN
from typing import Optional

import pytest
from fastapi.testclient import TestClient
Expand Down
15 changes: 0 additions & 15 deletions test/e2e/mock_schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,21 +118,6 @@
"id": ANY,
"code": "system-b",
}

SYSTEM_POST_C = {
"name": "System C",
"description": "System description",
"location": "Test location",
"owner": "Me",
"importance": "low",
}
SYSTEM_POST_C_EXPECTED = {
**SYSTEM_POST_C,
**CREATED_MODIFIED_VALUES_EXPECTED,
"id": ANY,
"parent_id": None,
"code": "system-c",
}
# pylint: enable=duplicate-code

USAGE_STATUS_POST_A = {"value": "New"}
Expand Down
Loading
Loading