From 6648764836a7c8378ba9f4ffeb6ed2fcb51ee97e Mon Sep 17 00:00:00 2001 From: VirtuBox Date: Tue, 29 Oct 2019 15:20:25 +0100 Subject: [PATCH] Update tests --- wo/cli/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wo/cli/main.py b/wo/cli/main.py index fc80c05..84b85af 100644 --- a/wo/cli/main.py +++ b/wo/cli/main.py @@ -121,8 +121,8 @@ def main(): def get_test_app(**kw): - app = WOApp(**kw) - return app + with WOApp(**kw) as app: + return app if __name__ == '__main__':