Remove double assert

This commit is contained in:
krionbsd 2021-02-25 11:13:00 +01:00 committed by Pedro Algarvio
parent 70a2aba399
commit e9a940b939

View file

@ -35,8 +35,6 @@ def test_present():
with patch.dict(beacon.__opts__, {"test": False}):
assert beacon.present(beacon_name) == ret
assert beacon.present(beacon_name) == ret
with patch.dict(beacon.__opts__, {"test": True}):
ret.update({"result": True})
assert beacon.present(beacon_name) == ret