Skip to content

Commit

Permalink
corrected variable names
Browse files Browse the repository at this point in the history
  • Loading branch information
TheChymera committed Jul 3, 2017
1 parent 23dd5a7 commit 8d47372
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions labbookdb/tests/test_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
def test_related_entry_separators():
session, engine = add.load_session("~/somepath.db")
with pytest.raises(Exception) as excinfo:
add.get_related_ids(s,e,"Animal:external_ids.AnimalExternalIdentifier:database.ETH/AIC/cdb&#&identifier.275511")
add.get_related_ids(session, engine, "Animal:external_ids.AnimalExternalIdentifier:database.ETH/AIC/cdb&#&identifier.275511")
assert excinfo.value.args[0] == 'No entry was found with a value of "275511" on the "identifier" column of the "AnimalExternalIdentifier" CATEGORY, in the database.'
with pytest.raises(Exception) as excinfo:
add.get_related_ids(s,e,"Animal:external_ids.AnimalExternalIdentifier:database.ETH/AIC/cdb&&identifier.275511")
add.get_related_ids(session, engine, "Animal:external_ids.AnimalExternalIdentifier:database.ETH/AIC/cdb&&identifier.275511")
assert excinfo.value.args[0] == 'No entry was found with a value of "ETH/AIC/cdb" on the "database" column of the "AnimalExternalIdentifier" CATEGORY, in the database.'

0 comments on commit 8d47372

Please sign in to comment.