From be76f943741dc97f74e294867ef6027ef71ab9d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8rgen=20Lien=20Sell=C3=A6g?= Date: Sun, 26 May 2019 13:48:59 +0200 Subject: [PATCH] small cleanup --- tests/python_bindings/Config_tests/config_test.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/python_bindings/Config_tests/config_test.py b/tests/python_bindings/Config_tests/config_test.py index 55b5629..610cbf3 100644 --- a/tests/python_bindings/Config_tests/config_test.py +++ b/tests/python_bindings/Config_tests/config_test.py @@ -1,20 +1,18 @@ from Jucipp import Config def menu(): - config = Config() menu = Config.Menu() menu.keys = { 'key': 'value', } - config.menu = menu + Config().menu = menu def theme(): theme = Config.Theme() theme.name = "Star Wars" theme.variant = "Instrumental" theme.font = "Imperial" - config = Config() - config.theme = theme + Config().theme = theme def terminal(): terminal = Config.Terminal()