issues
search
ArchipelagoMW
/
Archipelago
Archipelago Multi-Game Randomizer and Server
https://archipelago.gg
Other
480
stars
636
forks
source link
Tests, WebHost: add tests for host_room and minor cleanup
#3619
Closed
black-sliver
closed
2 months ago
black-sliver
commented
3 months ago
What is this fixing or adding?
Tests behaviour that was added in #3496 and would've found the mistake that was fixed in #3603
Tests that only the owner can see the log and queue commands
Moves flask app init for tests to a common place (and ignores failure from double init)
Create 1 flask client per test rather than per class
Enables DEBUG for those, which allows printing the server traceback on failure
Fix some typing and a typo in test_api_generate
How was this tested?
pytest, pytest-xdist
What is this fixing or adding?
How was this tested?
pytest, pytest-xdist