mirror of https://github.com/pypa/pip
assert the order of the install/global options in the install call
This commit is contained in:
parent
1294c0d9a7
commit
9159a1db2a
|
@ -297,7 +297,6 @@ class TestParseRequirements(object):
|
|||
pass
|
||||
|
||||
call = popen.call_args_list[0][0][0]
|
||||
for i in global_option, install_option:
|
||||
assert i in call
|
||||
|
||||
# TODO: assert that --global-option come before --install-option.
|
||||
assert call.index(install_option) > \
|
||||
call.index('install') > \
|
||||
call.index(global_option) > 0
|
||||
|
|
Loading…
Reference in New Issue