fix: remove unused request param, use context manager in e2e v2 test

This commit is contained in:
Marc Billow
2026-06-30 16:33:36 -05:00
parent ee7ae10481
commit 6f681622c2
+3 -2
View File
@@ -10,8 +10,9 @@ from samsung_appliance.registry.adapter import build_runtime_descriptor
('dishwasher', '10.0.0.129', 'dishwasher'),
('refrigerator', '10.0.0.254', 'refrigerator'),
])
def test_full_pipeline_v2(name, ip, expected_type_key, request):
dump = json.load(open(f'local-tools/dumps/{ip}.json'))
def test_full_pipeline_v2(name, ip, expected_type_key):
with open(f'local-tools/dumps/{ip}.json') as f:
dump = json.load(f)
resources = _resources_from_dump(dump)
otn = resources.get('/otninformation/vs/0', {})