diff --git a/tests/atlasapi/test_utils.py b/tests/atlasapi/test_utils.py index 8bb3ac80..ab7112f6 100644 --- a/tests/atlasapi/test_utils.py +++ b/tests/atlasapi/test_utils.py @@ -142,7 +142,7 @@ def test_conf_from_file_no_file(temp_path): with pytest.raises(FileNotFoundError) as e: utils.conf_from_file(conf_path) - assert "Last versions cache file not found." == str(e) + assert "Last versions cache file not found." == str(e.value) @pytest.mark.skipif(sys.platform == "win32", reason="Does not run on Windows")