This commit is contained in:
@@ -102,7 +102,7 @@ def test_preload_fichier_valide(tmp_path, caplog):
|
||||
assert "PV preload done" in logs
|
||||
|
||||
|
||||
def test_preload_fichier_trop_vieux(tmp_path, caplog):
|
||||
def test_preload_old_file(tmp_path, caplog):
|
||||
f = tmp_path / "too_old.pkl"
|
||||
pvname = "TEST:PV_X"
|
||||
|
||||
@@ -134,11 +134,9 @@ def test_offload(tmp_path, caplog):
|
||||
pvname_3 = "TEST:PV3"
|
||||
pvname_4 = "TEST:PV4"
|
||||
|
||||
# Connecte 2 PVs
|
||||
pv3 = get_pv(pvname_3, connect=True)
|
||||
pv4 = get_pv(pvname_4, connect=True)
|
||||
assert pv3.wait_for_connection(timeout=2)
|
||||
assert pv4.wait_for_connection(timeout=2)
|
||||
# Create 2 PVs
|
||||
pv3 = get_pv(pvname_3)
|
||||
pv4 = get_pv(pvname_4)
|
||||
|
||||
# Patch le fichier et le delay
|
||||
with pytest.MonkeyPatch().context() as mp:
|
||||
|
||||
Reference in New Issue
Block a user