From 9057500bef6e97ec6e0c674fba33e86d259cfebc Mon Sep 17 00:00:00 2001 From: pjenvey Date: Fri, 22 Dec 2006 00:55:25 +0000 Subject: renamed restorer evalcontext_begin/end in_evalcontext to restoration_begin/end in_restoration --- tests/test_registry.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tests') 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() -- cgit v1.2.1