From 2c84fca5b1e3b73845e650b1c780485ba2d14ac3 Mon Sep 17 00:00:00 2001 From: milki Date: Fri, 17 Nov 2023 14:47:45 -0800 Subject: [PATCH] T Fix test expectation * Test is expecting the full path to the resource --- tests/common_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/common_test.py b/tests/common_test.py index d2724ac..74224e6 100644 --- a/tests/common_test.py +++ b/tests/common_test.py @@ -19,5 +19,5 @@ def test_read_resource_file(monkeypatch): read_resource_file(resource_path) m.assert_called_once_with( - importlib.resources.files("swagger_spec_validator") + importlib.resources.files("swagger_spec_validator") / resource_path )