summaryrefslogtreecommitdiff
path: root/tests/test_search.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_search.py')
-rw-r--r--tests/test_search.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/test_search.py b/tests/test_search.py
index 74890ce6a..7a4a9ef12 100644
--- a/tests/test_search.py
+++ b/tests/test_search.py
@@ -50,6 +50,17 @@ def test_search():
assert 'pip installs packages' in output.stdout
+def test_multiple_search():
+ """
+ Test searching for multiple packages at once.
+
+ """
+ reset_env()
+ output = run_pip('search', 'pip', 'INITools')
+ assert 'pip installs packages' in output.stdout
+ assert 'Tools for parsing and using INI-style files' in output.stdout
+
+
def test_searching_through_Search_class():
"""
Verify if ``pip.vcs.Search`` uses tests xmlrpclib.Transport class