Skip to content

Commit

Permalink
Add test capturing expectation when no deps are indicated. Ref #25.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Apr 10, 2018
1 parent 21ccf7c commit 929ef4d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions rwt/tests/test_deps.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,13 @@ def test_not_installed_args(self):
expected.remove('rwt')
filtered = deps.not_installed(args)
assert list(filtered) == expected


class TestLoad:
def test_no_args_passes(self):
"""
If called with no arguments, load() should still provide
a context.
"""
with deps.load():
pass

0 comments on commit 929ef4d

Please sign in to comment.