mirror of https://github.com/nucypher/nucypher.git
Fix test - remove not applicable case for Python API.
parent
510fc20592
commit
95bca154fc
|
@ -24,20 +24,12 @@ def test_invalid_time_condition():
|
|||
method="time_after_time",
|
||||
)
|
||||
|
||||
# invalid chain id
|
||||
with pytest.raises(InvalidCondition):
|
||||
_ = TimeCondition(
|
||||
return_value_test=ReturnValueTest(">", 0),
|
||||
chain="mychain",
|
||||
method="time_after_time",
|
||||
)
|
||||
|
||||
# chain id not permitted
|
||||
with pytest.raises(InvalidCondition):
|
||||
_ = TimeCondition(
|
||||
return_value_test=ReturnValueTest(">", 0),
|
||||
chain=90210, # Beverly Hills Chain :)
|
||||
method="time_after_time",
|
||||
method=TimeCondition.METHOD,
|
||||
)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue