Skip to content

Commit

Permalink
fixing test
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanDietzMorris committed Jan 22, 2025
1 parent 0e90c14 commit 84d4a43
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/test_graph_spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,11 @@ def test_graph_spec_subgraph_version():
testing_graph_spec_sub_graph = graph_builder.graph_specs.get('Testing_Graph', None)
for source in testing_graph_spec_sub_graph.sources:
assert source.source_version == source.id + "_v1"
assert testing_graph_spec_sub_graph.graph_version == "0f69593274e4bf24"
assert testing_graph_spec.graph_version == "a802ebc12e481d8a"
# TODO it would be nice to check against real version ids here
# but without pinning specific versions in the graph spec the versions could/should change,
# currently supplementation version is not specifiable, so it's impossible
assert testing_graph_spec_sub_graph.graph_version is not None
assert testing_graph_spec.graph_version is not None


# make sure a graph spec with an invalid subgraph fails with the appropriate exception
Expand Down

0 comments on commit 84d4a43

Please sign in to comment.