Browse Source

small cleanup

python
Jørgen Lien Sellæg 7 years ago committed by Jørgen Sverre Lien Sellæg
parent
commit
be76f94374
  1. 6
      tests/python_bindings/Config_tests/config_test.py

6
tests/python_bindings/Config_tests/config_test.py

@ -1,20 +1,18 @@
from Jucipp import Config from Jucipp import Config
def menu(): def menu():
config = Config()
menu = Config.Menu() menu = Config.Menu()
menu.keys = { menu.keys = {
'key': 'value', 'key': 'value',
} }
config.menu = menu Config().menu = menu
def theme(): def theme():
theme = Config.Theme() theme = Config.Theme()
theme.name = "Star Wars" theme.name = "Star Wars"
theme.variant = "Instrumental" theme.variant = "Instrumental"
theme.font = "Imperial" theme.font = "Imperial"
config = Config() Config().theme = theme
config.theme = theme
def terminal(): def terminal():
terminal = Config.Terminal() terminal = Config.Terminal()

Loading…
Cancel
Save