Skip to content

Commit

Permalink
Add instanced_fv_updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Javagedes committed Sep 25, 2023
1 parent c5c333a commit c16e3a4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests.unit/database/test_instanced_fv_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@ def test_valid_fdf(empty_tree: Tree): # noqa: F811
}
db.parse(env)

fv_id = db.connection.execute("SELECT id FROM instanced_fv WHERE fv_name = 'infformat'").fetchone()[0]
rows = db.connection.execute("SELECT key2 FROM junction where key1 == ?", (fv_id,)).fetchall()
rows = db.connection.execute("SELECT key2 FROM junction where key1 == 'infformat'").fetchall()

assert len(rows) == 5
assert sorted(rows) == sorted([
Expand Down

0 comments on commit c16e3a4

Please sign in to comment.