Fix types

This commit is contained in:
Anton 2018-06-04 01:52:54 +03:00
parent 87f750da35
commit 3030bf9778

View File

@ -62,7 +62,7 @@ def test_load_config_incorrect_stake_amount(default_conf) -> None:
conf['stake_amount'] = 'fake'
with pytest.raises(ValidationError, match=r'.*\'fake\' does not match \'unlimited\'.*'):
configuration = Configuration([])
configuration = Configuration(Namespace())
configuration._validate_config(conf)