# HG changeset patch # User Marcin Kuzminski # Date 2017-11-07 21:51:17 # Node ID a5a03d0b085b5648f192539431ac334f9ceb3d21 # Parent f49545848b714a9dad417e85cbe6b883d5c4a182 tests: small code cleanup diff --git a/rhodecode/tests/plugin.py b/rhodecode/tests/plugin.py --- a/rhodecode/tests/plugin.py +++ b/rhodecode/tests/plugin.py @@ -903,10 +903,7 @@ def pr_util(backend, request, config_stu """ util = PRTestUtility(backend) - - @request.addfinalizer - def cleanup(): - util.cleanup() + request.addfinalizer(util.cleanup) return util