Skip to content

Commit

Permalink
Use connection request v2 data from datamodel
Browse files Browse the repository at this point in the history
  • Loading branch information
sajith committed Jul 5, 2024
1 parent 0527887 commit 5878dba
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 43 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ dependencies = [
"prtpy",
"pydot",
"dataclasses-json",
"sdx-datamodel @ git+https://github.com/atlanticwave-sdx/datamodel@2.0.6.rc3"
"sdx-datamodel @ git+https://github.com/atlanticwave-sdx/datamodel@2.0.6.rc4",
]

[project.urls]
Expand Down
7 changes: 3 additions & 4 deletions tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ class TestData:

REQUESTS_DIR = files("sdx_datamodel") / "data" / "requests"
CONNECTION_REQ = REQUESTS_DIR / "test_request.json"
CONNECTION_REQ_AMLIGHT_ZAOXI_USER_PORT_v2 = (
REQUESTS_DIR / "test_request-amlight_zaoxi-p2p-v2.json"
)

# Write test output files in OS temporary directory.
TEST_OUTPUT_DIR = pathlib.Path(tempfile.gettempdir())
Expand All @@ -41,7 +44,3 @@ class TestData:
TOPOLOGY_FILE_SAX_2 = TEST_DATA_DIR / "sax-2.json"
CONNECTION_REQ_FILE_SAX_2_INVALID = TEST_DATA_DIR / "sax-2-request-invalid.json"
CONNECTION_REQ_FILE_SAX_2_VALID = TEST_DATA_DIR / "sax-2-request-valid.json"

CONNECTION_REQ_AMLIGHT_ZAOXI_USER_PORT_v2 = (
TEST_DATA_DIR / "test_request-amlight_zaoxi-p2p-v2.json"
)
38 changes: 0 additions & 38 deletions tests/data/test_request-amlight_zaoxi-p2p-v2.json

This file was deleted.

0 comments on commit 5878dba

Please sign in to comment.