Exempt-Medic
06df072095
Core: Require excluded locations to be reachable with full/locations accessibility ( #3802 )
...
* Make excludeds reachable
* Update all_state tests
2024-08-16 20:49:37 +02:00
Aaron Wagener
96d48a923a
Core: recontextualize `CollectionState.collect` ( #3723 )
...
* Core: renamed `CollectionState.collect` arg from `event` to `prevent_sweep` and remove forced collection
* Update TestDungeon.py
---------
Co-authored-by: NewSoupVi <57900059+NewSoupVi@users.noreply.github.com>
2024-08-13 22:28:05 +02:00
Silvris
5ca31533dc
Tests: give seed on default tests and fix execnet error ( #3520 )
...
* output seed of default tests
* test execnet fix
* try failing with interpolated string
* Update bases.py
* try without tryexcept
* Update bases.py
* Update bases.py
* remove fake exception
* fix indent
* actually fix the execnet issue
---------
Co-authored-by: NewSoupVi <57900059+NewSoupVi@users.noreply.github.com>
2024-06-22 21:00:15 +02:00
chesslogic
67a0a04917
Tests: minor: update tests base for Options API ( #2516 )
...
* update tests for Options API
* The actual "bug"
* resolve qwint's comment from 3 months ago
2024-06-18 04:49:26 +02:00
Aaron Wagener
842a15fd3c
Core: replace `Location.event` with `advancement` property ( #2871 )
2024-04-14 20:37:48 +02:00
Aaron Wagener
939a5ec959
LTTP: remove multiworld = None ( #2290 )
2024-03-10 08:18:25 +01:00
Aaron Wagener
3869a25944
Tests: assign the world to WorldTestBase, and a default player field ( #2385 )
...
* Tests: assign the World to WorldTestBase and add a player field (because I like typing self.player far more than random 1's all over the place)
* more accurate docstring for world and multiworld
* use self.player within the class
2024-02-15 23:49:52 +01:00
Doug Hoskisson
ac2387e17c
Tests: remove deprecated option access from `WorldTestBase` ( #2671 )
...
* remove deprecated option access from `WorldTestBase`
* one in test_reachability
2024-01-12 00:22:04 +01:00
el-u
ba53278147
core: make option resolution in world tests deterministic ( #2471 )
...
Co-authored-by: Zach Parks <zach@alliware.com>
2023-11-25 13:53:02 +01:00
el-u
2af5410301
core: fix item/location descriptions test ( #2450 )
2023-11-15 07:26:10 +01:00
Natalie Weizenbaum
2dd904e758
Allow worlds to provide item and location descriptions ( #2409 )
...
These are displayed in the weighted options page as hoverable tooltips.
2023-11-11 01:06:54 -05:00
black-sliver
5f5c48e17b
Core: fix some memory leak sources without removing caching ( #2400 )
...
* Core: fix some memory leak sources
* Core: run gc before detecting memory leaks
* Core: restore caching in BaseClasses.MultiWorld
* SM: move spheres cache to MultiWorld._sm_spheres to avoid memory leak
* Test: add tests for world memory leaks
* Test: limit WorldTestBase leak-check to py>=3.11
---------
Co-authored-by: Fabian Dill <fabian.dill@web.de>
2023-10-31 02:08:56 +01:00
Fabian Dill
3e0d1d4e1c
Core: change Region caching to on_change from on-miss-strategy ( #2366 )
2023-10-29 19:47:37 +01:00
Aaron Wagener
30da81c390
Tests: modern PEP8-ify core test modules and methods ( #2298 )
...
* rename modules
* rename methods
* add docstrings to the general tests
* add base import stub
* test_base -> bases
* print deprecation warning
* redo 2346
2023-10-22 13:00:27 +02:00