mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00

* Ensure that included/starter songs only include those within enabled dlcs. * Allow filtering traps by trap instead of by category. * Add in the currently available limited time dlcs to the dlc list. * Add the option group to the webhost and cleanup some errors. * Fix trap list. * Update tests. Add new ones to test correctness of new features. * Remove the old Just As Planned option * Make traps order alphabetically. Also adjust the title for traps. * Adjust new lines to better fit the website. * Style fixes. * Test adjustments and a fix due to test no longer having just as planned dlc. * Undo spacing changes as it breaks yaml generation. * Fix indenting in webhost. * Add the old options in as removed. Also clean up unused import. * Remove references to the old allow_just_as_planned_dlc_songs option in Muse Dash tests. * Add newline to end of file. --------- Co-authored-by: NewSoupVi <57900059+NewSoupVi@users.noreply.github.com>
39 lines
1.0 KiB
Python
39 lines
1.0 KiB
Python
from . import MuseDashTestBase
|
|
|
|
# The worst case settings are DLC songs off, and enabling streamer mode.
|
|
# This ends up with only 25 valid songs that can be chosen.
|
|
# These tests ensure that this won't fail generation
|
|
|
|
|
|
class TestWorstCaseHighDifficulty(MuseDashTestBase):
|
|
options = {
|
|
"starting_song_count": 10,
|
|
"dlc_packs": [],
|
|
"streamer_mode_enabled": True,
|
|
"song_difficulty_mode": 6,
|
|
"song_difficulty_min": 11,
|
|
"song_difficulty_max": 11,
|
|
}
|
|
|
|
|
|
class TestWorstCaseMidDifficulty(MuseDashTestBase):
|
|
options = {
|
|
"starting_song_count": 10,
|
|
"dlc_packs": [],
|
|
"streamer_mode_enabled": True,
|
|
"song_difficulty_mode": 6,
|
|
"song_difficulty_min": 6,
|
|
"song_difficulty_max": 6,
|
|
}
|
|
|
|
|
|
class TestWorstCaseLowDifficulty(MuseDashTestBase):
|
|
options = {
|
|
"starting_song_count": 10,
|
|
"dlc_packs": [],
|
|
"streamer_mode_enabled": True,
|
|
"song_difficulty_mode": 6,
|
|
"song_difficulty_min": 1,
|
|
"song_difficulty_max": 1,
|
|
}
|