Skip to content

Commit

Permalink
remove test
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanking13 committed Dec 4, 2024
1 parent 5dbe22b commit 0dc3a6d
Showing 1 changed file with 0 additions and 27 deletions.
27 changes: 0 additions & 27 deletions tests/test_package_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,33 +35,6 @@ def test_set_index_urls():
assert manager.index_urls == default_index_urls


def test_freeze():
manager = get_test_package_manager()

test_repodata_info = {
"test-dep-1": "0.1.0",
"test-dep-2": "0.2.0",
}
test_repodata_packages = {
"test-dep-1": {
"version": "0.1.0",
"depends": ["test-dep-2"],
},
"test-dep-2": {
"version": "0.2.0",
},
}

manager.repodata_info = test_repodata_info.copy()
manager.repodata_packages = test_repodata_packages.copy()

lockfile = manager.freeze()
assert json.loads(lockfile) == {
"info": test_repodata_info,
"packages": test_repodata_packages,
}


@pytest.mark.asyncio
async def test_list_packages(mock_fetch: mock_fetch_cls):
manager = get_test_package_manager()
Expand Down

0 comments on commit 0dc3a6d

Please sign in to comment.