Conditions | 1 |
Total Lines | 11 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | import pytest |
||
10 | def test_settings(self): |
||
11 | toml = NestedDotDict.read_toml(get_test_resource("settings.toml")) |
||
12 | x = Settings.load(toml) |
||
13 | assert x.taxon == 1111 |
||
14 | assert x.min_pchembl == 15 |
||
15 | assert x.min_confidence_score == 2 |
||
16 | assert x.min_phase == 0 |
||
17 | assert str(x.chembl_cache_path) == "~" |
||
18 | assert x.n_retries == 100 |
||
19 | assert not x.fast_save |
||
20 | assert x.timeout_sec == 0 |
||
21 | |||
30 |