Skip to content

Commit

Permalink
add appinfo tests
Browse files Browse the repository at this point in the history
  • Loading branch information
briehl committed Jun 11, 2024
1 parent 6f17aba commit c070096
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/test_appinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
def mock_catalog(json_data, mocker) -> MagicMock:
catalog = mocker.MagicMock()
catalog.list_favorites.return_value = json_data("test_app_favorites.json")
yield catalog
return catalog


@pytest.fixture
def mock_nms(json_data, mocker) -> MagicMock:
nms = mocker.MagicMock()
nms.list_methods.return_value = json_data("test_app_data.json")
yield nms
return nms


@pytest.mark.parametrize("app_tag", APP_TAGS)
Expand Down

0 comments on commit c070096

Please sign in to comment.