Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 0 additions & 20 deletions tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,26 +96,6 @@ def test_wheel(self):
self.assertTrue(self.virtual_env_obj.is_installed(pack))


class SearchTestCase(TestBase):
"""
Test pip search.
"""

def test_search(self):
for pack in all_packages_for_tests:
result = self.virtual_env_obj.search(pack)
self.assertIsInstance(result, dict)
self.assertTrue(bool(result))
if result:
self.assertIn(pack.lower(), [k.split(' (')[0].lower() for k in result.keys()])

def test_search_names(self):
for pack in all_packages_for_tests:
result = self.virtual_env_obj.search_names(pack)
self.assertIsInstance(result, list)
self.assertIn(pack.lower(), [k.split(' (')[0].lower() for k in result])


class PythonArgumentTestCase(TestBase):
"""
Test passing a different interpreter path to `VirtualEnvironment` (`virtualenv -p`).
Expand Down