-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: Add to make_expected_test_data.sh for pythonvalidate tests
This changes the order of some items in the expected files, but not the content Also some files show a change of a new line added only. This will set up future work, so there are smaller diff's in expected files in future.
- Loading branch information
1 parent
cd113f7
commit 20bcfce
Showing
18 changed files
with
235 additions
and
220 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
[] | ||
[] |
14 changes: 7 additions & 7 deletions
14
tests/fixtures/pythonvalidate/end_node_not_found_1.expected.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
[ | ||
{ | ||
"network_id": "a096d627-72e1-4f9b-b129-951b1737bff4", | ||
"span_id": "1", | ||
"missing_node_id": "2467", | ||
"type": "span_end_node_not_found" | ||
} | ||
] | ||
{ | ||
"type": "span_end_node_not_found", | ||
"missing_node_id": "2467", | ||
"span_id": "1", | ||
"network_id": "a096d627-72e1-4f9b-b129-951b1737bff4" | ||
} | ||
] |
12 changes: 6 additions & 6 deletions
12
tests/fixtures/pythonvalidate/node_international_connections_country_not_set_1.expected.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[ | ||
{ | ||
"network_id": "a096d627-72e1-4f9b-b129-951b1737bff4", | ||
"node_id": "1", | ||
"type": "node_international_connections_country_not_set" | ||
} | ||
] | ||
{ | ||
"type": "node_international_connections_country_not_set", | ||
"node_id": "1", | ||
"network_id": "a096d627-72e1-4f9b-b129-951b1737bff4" | ||
} | ||
] |
12 changes: 6 additions & 6 deletions
12
tests/fixtures/pythonvalidate/node_location_coordinates_incorrect_1.expected.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[ | ||
{ | ||
"network_id": "a096d627-72e1-4f9b-b129-951b1737bff4", | ||
"node_id": "1", | ||
"type": "node_location_coordinates_incorrect" | ||
} | ||
] | ||
{ | ||
"type": "node_location_coordinates_incorrect", | ||
"node_id": "1", | ||
"network_id": "a096d627-72e1-4f9b-b129-951b1737bff4" | ||
} | ||
] |
12 changes: 6 additions & 6 deletions
12
tests/fixtures/pythonvalidate/node_location_type_incorrect_1.expected.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[ | ||
{ | ||
"network_id": "a096d627-72e1-4f9b-b129-951b1737bff4", | ||
"node_id": "1", | ||
"type": "node_location_type_incorrect" | ||
} | ||
] | ||
{ | ||
"type": "node_location_type_incorrect", | ||
"node_id": "1", | ||
"network_id": "a096d627-72e1-4f9b-b129-951b1737bff4" | ||
} | ||
] |
12 changes: 6 additions & 6 deletions
12
tests/fixtures/pythonvalidate/node_not_used_in_any_spans_1.expected.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[ | ||
{ | ||
"network_id": "a096d627-72e1-4f9b-b129-951b1737bff4", | ||
"node_id": "3", | ||
"type": "node_not_used_in_any_spans" | ||
} | ||
] | ||
{ | ||
"type": "node_not_used_in_any_spans", | ||
"node_id": "3", | ||
"network_id": "a096d627-72e1-4f9b-b129-951b1737bff4" | ||
} | ||
] |
72 changes: 36 additions & 36 deletions
72
tests/fixtures/pythonvalidate/organisation_id_not_found_1.expected.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,37 @@ | ||
[ | ||
{ | ||
"network_id": "a096d627-72e1-4f9b-b129-951b1737bff4", | ||
"node_id": "1", | ||
"type": "node_organisation_reference_id_not_found", | ||
"field": "networkProvider" | ||
}, | ||
{ | ||
"network_id": "a096d627-72e1-4f9b-b129-951b1737bff4", | ||
"node_id": "1", | ||
"type": "node_organisation_reference_id_not_found", | ||
"field": "physicalInfrastructureProvider" | ||
}, | ||
{ | ||
"network_id": "a096d627-72e1-4f9b-b129-951b1737bff4", | ||
"phase_id": "1", | ||
"type": "phase_organisation_reference_id_not_found" | ||
}, | ||
{ | ||
"network_id": "a096d627-72e1-4f9b-b129-951b1737bff4", | ||
"span_id": "1", | ||
"type": "span_organisation_reference_id_not_found", | ||
"field": "networkProvider" | ||
}, | ||
{ | ||
"network_id": "a096d627-72e1-4f9b-b129-951b1737bff4", | ||
"span_id": "1", | ||
"type": "span_organisation_reference_id_not_found", | ||
"field": "physicalInfrastructureProvider" | ||
}, | ||
{ | ||
"network_id": "a096d627-72e1-4f9b-b129-951b1737bff4", | ||
"span_id": "1", | ||
"type": "span_organisation_reference_id_not_found", | ||
"field": "supplier" | ||
} | ||
] | ||
{ | ||
"type": "node_organisation_reference_id_not_found", | ||
"node_id": "1", | ||
"field": "physicalInfrastructureProvider", | ||
"network_id": "a096d627-72e1-4f9b-b129-951b1737bff4" | ||
}, | ||
{ | ||
"type": "node_organisation_reference_id_not_found", | ||
"node_id": "1", | ||
"field": "networkProvider", | ||
"network_id": "a096d627-72e1-4f9b-b129-951b1737bff4" | ||
}, | ||
{ | ||
"type": "span_organisation_reference_id_not_found", | ||
"span_id": "1", | ||
"field": "physicalInfrastructureProvider", | ||
"network_id": "a096d627-72e1-4f9b-b129-951b1737bff4" | ||
}, | ||
{ | ||
"type": "span_organisation_reference_id_not_found", | ||
"span_id": "1", | ||
"field": "networkProvider", | ||
"network_id": "a096d627-72e1-4f9b-b129-951b1737bff4" | ||
}, | ||
{ | ||
"type": "span_organisation_reference_id_not_found", | ||
"span_id": "1", | ||
"field": "supplier", | ||
"network_id": "a096d627-72e1-4f9b-b129-951b1737bff4" | ||
}, | ||
{ | ||
"type": "phase_organisation_reference_id_not_found", | ||
"phase_id": "1", | ||
"network_id": "a096d627-72e1-4f9b-b129-951b1737bff4" | ||
} | ||
] |
72 changes: 36 additions & 36 deletions
72
tests/fixtures/pythonvalidate/organisation_name_not_match_1.expected.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,37 @@ | ||
[ | ||
{ | ||
"network_id": "a096d627-72e1-4f9b-b129-951b1737bff4", | ||
"node_id": "1", | ||
"type": "node_organisation_reference_name_does_not_match", | ||
"field": "networkProvider" | ||
}, | ||
{ | ||
"network_id": "a096d627-72e1-4f9b-b129-951b1737bff4", | ||
"node_id": "1", | ||
"type": "node_organisation_reference_name_does_not_match", | ||
"field": "physicalInfrastructureProvider" | ||
}, | ||
{ | ||
"network_id": "a096d627-72e1-4f9b-b129-951b1737bff4", | ||
"phase_id": "1", | ||
"type": "phase_organisation_reference_name_does_not_match" | ||
}, | ||
{ | ||
"network_id": "a096d627-72e1-4f9b-b129-951b1737bff4", | ||
"span_id": "1", | ||
"type": "span_organisation_reference_name_does_not_match", | ||
"field": "networkProvider" | ||
}, | ||
{ | ||
"network_id": "a096d627-72e1-4f9b-b129-951b1737bff4", | ||
"span_id": "1", | ||
"type": "span_organisation_reference_name_does_not_match", | ||
"field": "physicalInfrastructureProvider" | ||
}, | ||
{ | ||
"network_id": "a096d627-72e1-4f9b-b129-951b1737bff4", | ||
"span_id": "1", | ||
"type": "span_organisation_reference_name_does_not_match", | ||
"field": "supplier" | ||
} | ||
] | ||
{ | ||
"type": "node_organisation_reference_name_does_not_match", | ||
"node_id": "1", | ||
"field": "physicalInfrastructureProvider", | ||
"network_id": "a096d627-72e1-4f9b-b129-951b1737bff4" | ||
}, | ||
{ | ||
"type": "node_organisation_reference_name_does_not_match", | ||
"node_id": "1", | ||
"field": "networkProvider", | ||
"network_id": "a096d627-72e1-4f9b-b129-951b1737bff4" | ||
}, | ||
{ | ||
"type": "span_organisation_reference_name_does_not_match", | ||
"span_id": "1", | ||
"field": "physicalInfrastructureProvider", | ||
"network_id": "a096d627-72e1-4f9b-b129-951b1737bff4" | ||
}, | ||
{ | ||
"type": "span_organisation_reference_name_does_not_match", | ||
"span_id": "1", | ||
"field": "networkProvider", | ||
"network_id": "a096d627-72e1-4f9b-b129-951b1737bff4" | ||
}, | ||
{ | ||
"type": "span_organisation_reference_name_does_not_match", | ||
"span_id": "1", | ||
"field": "supplier", | ||
"network_id": "a096d627-72e1-4f9b-b129-951b1737bff4" | ||
}, | ||
{ | ||
"type": "phase_organisation_reference_name_does_not_match", | ||
"phase_id": "1", | ||
"network_id": "a096d627-72e1-4f9b-b129-951b1737bff4" | ||
} | ||
] |
72 changes: 36 additions & 36 deletions
72
...xtures/pythonvalidate/organisation_reference_name_set_but_not_in_original_1.expected.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,37 @@ | ||
[ | ||
{ | ||
"network_id": "a096d627-72e1-4f9b-b129-951b1737bff4", | ||
"node_id": "1", | ||
"type": "node_organisation_reference_name_set_but_not_in_original", | ||
"field": "networkProvider" | ||
}, | ||
{ | ||
"network_id": "a096d627-72e1-4f9b-b129-951b1737bff4", | ||
"node_id": "1", | ||
"type": "node_organisation_reference_name_set_but_not_in_original", | ||
"field": "physicalInfrastructureProvider" | ||
}, | ||
{ | ||
"network_id": "a096d627-72e1-4f9b-b129-951b1737bff4", | ||
"phase_id": "1", | ||
"type": "phase_organisation_reference_name_set_but_not_in_original" | ||
}, | ||
{ | ||
"network_id": "a096d627-72e1-4f9b-b129-951b1737bff4", | ||
"span_id": "1", | ||
"type": "span_organisation_reference_name_set_but_not_in_original", | ||
"field": "networkProvider" | ||
}, | ||
{ | ||
"network_id": "a096d627-72e1-4f9b-b129-951b1737bff4", | ||
"span_id": "1", | ||
"type": "span_organisation_reference_name_set_but_not_in_original", | ||
"field": "physicalInfrastructureProvider" | ||
}, | ||
{ | ||
"network_id": "a096d627-72e1-4f9b-b129-951b1737bff4", | ||
"span_id": "1", | ||
"type": "span_organisation_reference_name_set_but_not_in_original", | ||
"field": "supplier" | ||
} | ||
] | ||
{ | ||
"type": "node_organisation_reference_name_set_but_not_in_original", | ||
"node_id": "1", | ||
"field": "physicalInfrastructureProvider", | ||
"network_id": "a096d627-72e1-4f9b-b129-951b1737bff4" | ||
}, | ||
{ | ||
"type": "node_organisation_reference_name_set_but_not_in_original", | ||
"node_id": "1", | ||
"field": "networkProvider", | ||
"network_id": "a096d627-72e1-4f9b-b129-951b1737bff4" | ||
}, | ||
{ | ||
"type": "span_organisation_reference_name_set_but_not_in_original", | ||
"span_id": "1", | ||
"field": "physicalInfrastructureProvider", | ||
"network_id": "a096d627-72e1-4f9b-b129-951b1737bff4" | ||
}, | ||
{ | ||
"type": "span_organisation_reference_name_set_but_not_in_original", | ||
"span_id": "1", | ||
"field": "networkProvider", | ||
"network_id": "a096d627-72e1-4f9b-b129-951b1737bff4" | ||
}, | ||
{ | ||
"type": "span_organisation_reference_name_set_but_not_in_original", | ||
"span_id": "1", | ||
"field": "supplier", | ||
"network_id": "a096d627-72e1-4f9b-b129-951b1737bff4" | ||
}, | ||
{ | ||
"type": "phase_organisation_reference_name_set_but_not_in_original", | ||
"phase_id": "1", | ||
"network_id": "a096d627-72e1-4f9b-b129-951b1737bff4" | ||
} | ||
] |
32 changes: 16 additions & 16 deletions
32
tests/fixtures/pythonvalidate/phase_id_not_found_1.expected.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
[ | ||
{ | ||
"network_id": "a096d627-72e1-4f9b-b129-951b1737bff4", | ||
"contract_id": "1", | ||
"type": "contract_related_phase_reference_id_not_found" | ||
}, | ||
{ | ||
"network_id": "a096d627-72e1-4f9b-b129-951b1737bff4", | ||
"node_id": "1", | ||
"type": "node_phase_reference_id_not_found" | ||
}, | ||
{ | ||
"network_id": "a096d627-72e1-4f9b-b129-951b1737bff4", | ||
"span_id": "1", | ||
"type": "span_phase_reference_id_not_found" | ||
} | ||
] | ||
{ | ||
"type": "node_phase_reference_id_not_found", | ||
"node_id": "1", | ||
"network_id": "a096d627-72e1-4f9b-b129-951b1737bff4" | ||
}, | ||
{ | ||
"type": "span_phase_reference_id_not_found", | ||
"span_id": "1", | ||
"network_id": "a096d627-72e1-4f9b-b129-951b1737bff4" | ||
}, | ||
{ | ||
"type": "contract_related_phase_reference_id_not_found", | ||
"contract_id": "1", | ||
"network_id": "a096d627-72e1-4f9b-b129-951b1737bff4" | ||
} | ||
] |
32 changes: 16 additions & 16 deletions
32
tests/fixtures/pythonvalidate/phase_name_not_match_1.expected.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
[ | ||
{ | ||
"network_id": "a096d627-72e1-4f9b-b129-951b1737bff4", | ||
"contract_id": "1", | ||
"type": "contract_related_phase_reference_name_does_not_match" | ||
}, | ||
{ | ||
"network_id": "a096d627-72e1-4f9b-b129-951b1737bff4", | ||
"node_id": "1", | ||
"type": "node_phase_reference_name_does_not_match" | ||
}, | ||
{ | ||
"network_id": "a096d627-72e1-4f9b-b129-951b1737bff4", | ||
"span_id": "1", | ||
"type": "span_phase_reference_name_does_not_match" | ||
} | ||
] | ||
{ | ||
"type": "node_phase_reference_name_does_not_match", | ||
"node_id": "1", | ||
"network_id": "a096d627-72e1-4f9b-b129-951b1737bff4" | ||
}, | ||
{ | ||
"type": "span_phase_reference_name_does_not_match", | ||
"span_id": "1", | ||
"network_id": "a096d627-72e1-4f9b-b129-951b1737bff4" | ||
}, | ||
{ | ||
"type": "contract_related_phase_reference_name_does_not_match", | ||
"contract_id": "1", | ||
"network_id": "a096d627-72e1-4f9b-b129-951b1737bff4" | ||
} | ||
] |
Oops, something went wrong.