Skip to content

Commit

Permalink
More lint fixes.
Browse files Browse the repository at this point in the history
No-Issue

Signed-off-by: James Tanner <[email protected]>
  • Loading branch information
jctanner committed Nov 11, 2024
1 parent d62ab86 commit fe4b18a
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions tests/unit/test_utils_resource_access.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
# test_resource_access.py

import pytest
import glob
import json
import tempfile
import os
import shutil
import importlib.util
from unittest.mock import patch, mock_open, MagicMock
from unittest.mock import patch

from galaxy_importer.utils.resource_access import resource_stream_compat, resource_filename_compat

Expand Down Expand Up @@ -41,6 +37,7 @@ def test_resource_filename_compat_with_pkg_resources(mock_pkg_resources):
"galaxy_importer.utils.spdx_licenses", "spdx_licenses.json"
) as fstream:
raw = fstream.read()
assert raw is not None
assert mock_pkg_resources.resource_filename.called


Expand Down

0 comments on commit fe4b18a

Please sign in to comment.