summaryrefslogtreecommitdiff
path: root/tests/test_registry.py
diff options
context:
space:
mode:
authorpjenvey <devnull@localhost>2006-12-22 00:55:25 +0000
committerpjenvey <devnull@localhost>2006-12-22 00:55:25 +0000
commit9057500bef6e97ec6e0c674fba33e86d259cfebc (patch)
treee30df351f100dd260a1d0c9b56db1d919dbd7a72 /tests/test_registry.py
parent63efb333ce97d54cc7e1d2328ab2bc69eedb7f0e (diff)
downloadpaste-9057500bef6e97ec6e0c674fba33e86d259cfebc.tar.gz
renamed restorer evalcontext_begin/end in_evalcontext to restoration_begin/end in_restoration
Diffstat (limited to 'tests/test_registry.py')
-rw-r--r--tests/test_registry.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/test_registry.py b/tests/test_registry.py
index b4c9733..37747a9 100644
--- a/tests/test_registry.py
+++ b/tests/test_registry.py
@@ -192,7 +192,7 @@ def _test_restorer(stack, data):
# EvalException context
replace = {'replace': 'dict'}
new = {'new': 'object'}
- restorer.evalcontext_begin(request_id)
+ restorer.restoration_begin(request_id)
try:
for stacked, proxied_obj, test_cleanup in data:
# Ensure our original data magically re-appears in this context
@@ -220,7 +220,7 @@ def _test_restorer(stack, data):
# Definitely empty
pass
finally:
- restorer.evalcontext_end()
+ restorer.restoration_end()
def _restorer_data():
S = StackedObjectProxy
@@ -285,10 +285,10 @@ def test_restorer_middlemen_nested_evalexception():
_test_restorer(wsgiapp, data)
def test_restorer_disabled():
- # Ensure evalcontext_begin/end work safely when there's no Registry
+ # Ensure restoration_begin/end work safely when there's no Registry
wsgiapp = TestApp(simpleapp)
wsgiapp.get('/')
try:
- restorer.evalcontext_begin(1)
+ restorer.restoration_begin(1)
finally:
- restorer.evalcontext_end()
+ restorer.restoration_end()