Accept ARNavi VPS 0.2.0 through the existing client contract
This commit is contained in:
@@ -72,3 +72,10 @@ def test_initial_usb_apply_accepts_current_shipped_host():
|
||||
host["status"]["version"] = version
|
||||
assert apply(hosts, "device", 1) == {"ok": True}
|
||||
hosts.equipment.apply.assert_called_once_with("device", 1)
|
||||
|
||||
|
||||
def test_initial_apply_accepts_shared_host_without_changing_legacy_pairing():
|
||||
hosts, _, host = context()
|
||||
host["status"]["version"] = "0.2.0"
|
||||
assert apply(hosts, "device", 1) == {"ok": True}
|
||||
hosts.equipment.apply.assert_called_once_with("device", 1)
|
||||
|
||||
@@ -40,7 +40,7 @@ def sender(monkeypatch):
|
||||
return sent
|
||||
|
||||
|
||||
@pytest.mark.parametrize("version", ["0.1.26", "0.1.27", "0.1.28", "0.1.29", "0.1.30", "0.1.31"])
|
||||
@pytest.mark.parametrize("version", ["0.1.26", "0.1.27", "0.1.28", "0.1.29", "0.1.30", "0.1.31", "0.2.0"])
|
||||
def test_queue_survives_restart_and_idempotent_submit(ready, monkeypatch, version):
|
||||
equipment, hosts, row = ready
|
||||
for host in hosts.rows():
|
||||
|
||||
Reference in New Issue
Block a user