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

Commit 557e072

Browse files
committed
Renamed FakeTestEnv to SandboxEnv.
1 parent 00c7cb3 commit 557e072

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/tests/test_integration.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
__all__ = ()
2222

2323

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

110110
@pytest.yield_fixture(scope="function", params=('pydocstyle', 'pep257'))
111111
def env(request):
112-
with FakeTestEnv(request.param) as test_env:
112+
with SandboxEnv(request.param) as test_env:
113113
yield test_env
114114

115115

@@ -855,7 +855,7 @@ def foo():
855855

856856

857857
def test_pep257_entry_point():
858-
with FakeTestEnv('pep257') as env:
858+
with SandboxEnv('pep257') as env:
859859
_, err, code = env.invoke()
860860
assert code == 0
861861
assert 'Deprecation Warning' in err, err

0 commit comments

Comments
 (0)