Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Commit

Permalink
Renamed FakeTestEnv to SandboxEnv.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nurdok committed Apr 4, 2016
1 parent 00c7cb3 commit 557e072
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/tests/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
__all__ = ()


class FakeTestEnv(object):
class SandboxEnv(object):
"""An isolated environment where pydocstyle can be run.
Since running pydocstyle as a script is affected by local config files,
Expand Down Expand Up @@ -109,7 +109,7 @@ def install_package(request):

@pytest.yield_fixture(scope="function", params=('pydocstyle', 'pep257'))
def env(request):
with FakeTestEnv(request.param) as test_env:
with SandboxEnv(request.param) as test_env:
yield test_env


Expand Down Expand Up @@ -855,7 +855,7 @@ def foo():


def test_pep257_entry_point():
with FakeTestEnv('pep257') as env:
with SandboxEnv('pep257') as env:
_, err, code = env.invoke()
assert code == 0
assert 'Deprecation Warning' in err, err

0 comments on commit 557e072

Please sign in to comment.