Skip to content

Commit

Permalink
Add deprecated check for MigratrionGraphBuilder test
Browse files Browse the repository at this point in the history
  • Loading branch information
acrutt committed Aug 1, 2022
1 parent 695995f commit 98b71e6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/emmet-builders/test_mobility.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@

@pytest.fixture(scope="session")
def ie_store(test_dir):
return JSONStore(test_dir / "mobility/builder_migration_graph_set.json", key="battery_id")
return JSONStore(
test_dir / "mobility/builder_migration_graph_set.json", key="battery_id"
)


@pytest.fixture
Expand All @@ -22,3 +24,4 @@ def test_migration_graph_builder(ie_store, mg_store):
builder.run()
assert mg_store.count() == 2
assert mg_store.count({"state": "successful"}) == 2
assert mg_store.count({"deprecated": False}) == 2

0 comments on commit 98b71e6

Please sign in to comment.