Skip to content

Commit

Permalink
Fix tests to reflect updated dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mlew committed Apr 10, 2015
1 parent 6b56468 commit fe42015
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
3 changes: 3 additions & 0 deletions tests/dump-to-multiple-req-files.t
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ Next, let's see what pip-dump does:
It should've updated requirements.txt with pinned versions of all requirements:

$ cat requirements.txt | grep -v argparse
blessings==* (glob)
curtsies==* (glob)
greenlet==* (glob)
itsdangerous==* (glob)
python-dateutil==* (glob)
requests==* (glob)
Expand Down
4 changes: 2 additions & 2 deletions tests/pip-freeze-new.t
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ Check the output of 'pip freeze'
$ pip freeze -lr requirements.txt | grep -v argparse
You are using pip version 6.0.6, however version * is available. (glob)
You should consider upgrading via the 'pip install --upgrade pip' command.
python-dateutil==2.4.0
python-dateutil==* (glob)
## The following requirements were added by pip freeze:
six==1.9.0
six==* (glob)

Next, let's see what pip-dump does:

Expand Down
4 changes: 2 additions & 2 deletions tests/pip-freeze-old.t
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ Setup:
Check the output of 'pip freeze'

$ pip freeze -lr requirements.txt | grep -v argparse
python-dateutil==2.4.0
python-dateutil==* (glob)
## The following requirements were added by pip --freeze:
six==1.9.0
six==* (glob)

Next, let's see what pip-dump does:

Expand Down
7 changes: 2 additions & 5 deletions tests/review.t
Original file line number Diff line number Diff line change
Expand Up @@ -16,23 +16,20 @@ Also install library, which caused warning message:
Next, let's see what pip-review does:

$ pip-review
Warning: cannot find svn location for cElementTree==1.0.5-20051216
cElementTree==1.0.2-20050302 is available (you have 1.0.5-20051216)
cElementTree==1.0.2-20050302 is available (you have 1.0.5.post20051216)
python-dateutil==* is available (you have 1.5) (glob)

Or in raw mode:

$ pip-review --raw
Warning: cannot find svn location for cElementTree==1.0.5-20051216
cElementTree==1.0.2-20050302
python-dateutil==* (glob)

We can also install these updates automatically:

$ pip-review --auto >/dev/null 2>&1
$ pip-review
Warning: cannot find svn location for cElementTree==1.0.5-20051216
cElementTree==* is available (you have 1.0.5-20051216) (glob)
cElementTree==* is available (you have 1.0.5.post20051216) (glob)

Cleanup our playground:

Expand Down

0 comments on commit fe42015

Please sign in to comment.