Fix types
This commit is contained in:
parent
87f750da35
commit
3030bf9778
@ -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)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user