Skip to content

Commit

Permalink
Use context managers from cli-test-helper module
Browse files Browse the repository at this point in the history
  • Loading branch information
bittner committed Nov 3, 2019
1 parent 21bb824 commit fe24159
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 88 deletions.
42 changes: 0 additions & 42 deletions tests/helpers.py

This file was deleted.

4 changes: 2 additions & 2 deletions tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
except ImportError: # Python 2.7
from mock import patch

from sentrylogs.bin.sentrylogs import main
from cli_test_helpers import ArgvContext, EnvironContext

from helpers import ArgvContext, EnvironContext
from sentrylogs.bin.sentrylogs import main


def test_entrypoint():
Expand Down
44 changes: 0 additions & 44 deletions tests/test_helpers.py

This file was deleted.

1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ envlist =

[testenv]
deps =
cli-test-helpers
py27: mock
pytest
commands = pytest
Expand Down

0 comments on commit fe24159

Please sign in to comment.