Permalink
Browse files

Use a smaller package than mock as a test download.

  • Loading branch information...
1 parent 575eeac commit 877b5e56d1845de9cf9930ddc7cfb9450b9b72fb @carljm carljm committed Feb 6, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 tests/test_requirements.py
@@ -68,7 +68,7 @@ def test_respect_order_in_requirements_file():
write_file('frameworks-req.txt', textwrap.dedent("""\
bidict
ordereddict
- mock
+ initools
"""))
result = run_pip('install', '-r', env.scratch_path / 'frameworks-req.txt')
downloaded = [line for line in result.stdout.split('\n')
@@ -78,8 +78,8 @@ def test_respect_order_in_requirements_file():
'be "bidict" but was "%s"' % downloaded[0]
assert 'ordereddict' in downloaded[1], 'Second download should ' \
'be "ordereddict" but was "%s"' % downloaded[1]
- assert 'mock' in downloaded[2], 'Third download should ' \
- 'be "mock" but was "%s"' % downloaded[2]
+ assert 'initools' in downloaded[2], 'Third download should ' \
+ 'be "initools" but was "%s"' % downloaded[2]
def test_requirements_data_structure_keeps_order():

0 comments on commit 877b5e5

Please sign in to comment.