Skip to content

Commit

Permalink
refactor: rename folder with test data (#1204)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nora-Olivia-Ammann authored Oct 7, 2024
1 parent 8c10f83 commit e147d55
Show file tree
Hide file tree
Showing 14 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@

@pytest.fixture
def data_cardinality_violation() -> Graph:
data, _ = _get_data_info_from_file(Path("testdata/data-validate/data/cardinality_violation.xml"), LOCAL_API)
data, _ = _get_data_info_from_file(Path("testdata/validate-data/data/cardinality_violation.xml"), LOCAL_API)
return data.make_graph()


@pytest.fixture
def result_cardinality_violation() -> Graph:
g = Graph()
g.parse("testdata/data-validate/validation_results/cardinality_violation_result.ttl")
g.parse("testdata/validate-data/validation_results/cardinality_violation_result.ttl")
return g


Expand Down
2 changes: 1 addition & 1 deletion test/integration/commands/validate_data/xml_fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@

@pytest.fixture
def data_xml() -> etree._Element:
return _parse_and_clean_file(Path("testdata/data-validate/data/minimal_correct.xml"), "http://0.0.0.0:3333")
return _parse_and_clean_file(Path("testdata/validate-data/data/minimal_correct.xml"), "http://0.0.0.0:3333")
2 changes: 1 addition & 1 deletion test/unittests/commands/validate_data/fixtures_onto.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
@pytest.fixture
def onto_graph() -> Graph:
g = Graph()
g.parse("testdata/data-validate/onto.ttl")
g.parse("testdata/validate-data/onto.ttl")
return g


Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"project": {
"shortcode": "9999",
"shortname": "test",
"longname": "Test project for data-validate",
"longname": "Test project for validate-data",
"descriptions": {
"en": "Test project for data-validate"
"en": "Test project for validate-data"
},
"keywords": [
"validate"
Expand Down

0 comments on commit e147d55

Please sign in to comment.