Skip to content

Commit

Permalink
Fixing test1()
Browse files Browse the repository at this point in the history
  • Loading branch information
mbodenhamer committed Oct 20, 2017
1 parent 74bd899 commit 456781f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion depman/tests/test1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ prod:
- foo123

pip:
- numpy
- bar456 # numpy, but bar456 b/c travis
- openopt:
order: 500

Expand Down
2 changes: 1 addition & 1 deletion depman/tests/test_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def test1():
with assign(_pip, 'command', MagicMock()):
ops[3].execute()
assert _pip.command.call_count == 1
_pip.command.assert_called_with('pip install --upgrade numpy')
_pip.command.assert_called_with('pip install --upgrade bar456')

with assign(_pip, 'command', MagicMock()):
ops[4].execute()
Expand Down

0 comments on commit 456781f

Please sign in to comment.