| Conditions | 1 |
| Total Lines | 7 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | import pytest |
||
| 9 | def test_find(self): |
||
| 10 | df, triples = Commands.search_for(What.prediction, get_test_resource("inchis.txt"), None) |
||
| 11 | # TODO double-check |
||
| 12 | assert len(df) == 4 |
||
| 13 | assert len(triples) == 1 |
||
| 14 | assert triples[0].object_id == "CHEMBL2093872" |
||
| 15 | assert triples[0].compound_name.lower() == "alprazolam" |
||
| 16 | |||
| 20 |