summaryrefslogtreecommitdiff
path: root/tests/test_registry.py
diff options
context:
space:
mode:
authorpjenvey <devnull@localhost>2006-12-27 23:27:23 +0000
committerpjenvey <devnull@localhost>2006-12-27 23:27:23 +0000
commitbb81d888978710ef309348c2463192db2c8464a5 (patch)
tree7180eab4f935e3af519bc7b51a81114c07d30a99 /tests/test_registry.py
parent421326b3aa5833da998f0797b17d1e384add408c (diff)
downloadpaste-bb81d888978710ef309348c2463192db2c8464a5.tar.gz
ensure extra restoration_end calls noop
Diffstat (limited to 'tests/test_registry.py')
-rw-r--r--tests/test_registry.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_registry.py b/tests/test_registry.py
index 37747a9..a72e9b9 100644
--- a/tests/test_registry.py
+++ b/tests/test_registry.py
@@ -292,3 +292,5 @@ def test_restorer_disabled():
restorer.restoration_begin(1)
finally:
restorer.restoration_end()
+ # A second call should do nothing
+ restorer.restoration_end()