From 7b48de296f8ea284d0f3604b6ea161adcfccd9af Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Tue, 12 Jan 2021 15:56:54 +0100 Subject: Wrote a minimal config and refactored all tests from it to simplify everything --- config/test_data/no_anonymous_menu.yaml | 35 +++------------------------------ 1 file changed, 3 insertions(+), 32 deletions(-) (limited to 'config/test_data/no_anonymous_menu.yaml') diff --git a/config/test_data/no_anonymous_menu.yaml b/config/test_data/no_anonymous_menu.yaml index 2afc4ad..a015160 100644 --- a/config/test_data/no_anonymous_menu.yaml +++ b/config/test_data/no_anonymous_menu.yaml @@ -1,47 +1,18 @@ 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: - logged_in: - 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 - test: - Banner: 'Shell Game Launcher - Anonymous access%n======================================' - XOffset: 5 - YOffset: 2 + logged_in: 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 - -- cgit v1.2.3