aboutsummaryrefslogtreecommitdiff
path: root/config/test_data/not_enough_menus.yaml
diff options
context:
space:
mode:
authorJulien Dessaux2021-01-12 15:56:54 +0100
committerJulien Dessaux2021-01-12 15:58:11 +0100
commit7b48de296f8ea284d0f3604b6ea161adcfccd9af (patch)
treeded0f326a50e6ff788cfe42fd51767085f388910 /config/test_data/not_enough_menus.yaml
parentFixed invalid handling of menu offsets (diff)
downloadshell-game-launcher-7b48de296f8ea284d0f3604b6ea161adcfccd9af.tar.gz
shell-game-launcher-7b48de296f8ea284d0f3604b6ea161adcfccd9af.tar.bz2
shell-game-launcher-7b48de296f8ea284d0f3604b6ea161adcfccd9af.zip
Wrote a minimal config and refactored all tests from it to simplify everything
Diffstat (limited to 'config/test_data/not_enough_menus.yaml')
-rw-r--r--config/test_data/not_enough_menus.yaml20
1 files changed, 2 insertions, 18 deletions
diff --git a/config/test_data/not_enough_menus.yaml b/config/test_data/not_enough_menus.yaml
index db3b72c..f585f44 100644
--- a/config/test_data/not_enough_menus.yaml
+++ b/config/test_data/not_enough_menus.yaml
@@ -1,29 +1,13 @@
App:
WorkingDirectory: var/
- MaxUsers: 512
+ MaxUsers: 1
AllowRegistration: true
MaxNickLen: 15
MenuMaxIdleTime: 600
- PostLoginCommands:
- - mkdir %w/userdata/%u
- - mkdir %w/userdata/%u/dumplog
- - mkdir %w/userdata/%u/ttyrec
Menus:
- anonymous:
- Banner: 'Shell Game Launcher - Anonymous access%n======================================'
- XOffset: 5
- YOffset: 2
+ test:
MenuEntries:
- - Key: l
- Label: login
- Action: login
- - Key: r
- Label: register
- Action: register
- - Key: w
- Label: watch
- Action: watch_menu
- Key: q
Label: quit
Action: quit