Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Justintime50 committed Feb 11, 2022
1 parent ed2fb71 commit 76a4bef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/test_tree.py
Expand Up @@ -19,7 +19,7 @@ def test_get_package_details():
pip_path = f'./venv/lib/python{python_version}/site-packages'
package_details, package_count = pip_tree.generate_pip_tree(pip_path)

assert any(item['name'] == 'pytest-cov' for item in package_details)
assert any('toml' in item['requires'] for item in package_details)
assert any(item['name'] == 'pytest' for item in package_details)
assert any([] == item['requires'] for item in package_details)
assert any('pytest' in item['required_by'] for item in package_details)
assert 20 < package_count < 40 # Assert the package count is within a reasonable number for this package, ~30

0 comments on commit 76a4bef

Please sign in to comment.