From f8ab225a1117ea8ed2809d751f1acb1b63fc00f9 Mon Sep 17 00:00:00 2001 From: Exempt-Medic <60412657+Exempt-Medic@users.noreply.github.com> Date: Tue, 25 Feb 2025 15:23:51 -0500 Subject: [PATCH] Update two more --- docs/tests.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/tests.md b/docs/tests.md index c8655ccf3f..e7f4004236 100644 --- a/docs/tests.md +++ b/docs/tests.md @@ -73,11 +73,11 @@ When tests are run, this class will create a multiworld with a single player hav generic tests, as well as the new custom test. Each test method definition will create its own separate solo multiworld that will be cleaned up after. If you don't want to run the generic tests on a base, `run_default_tests` can be overridden. For more information on what methods are available to your class, check the -[WorldTestBase definition](/test/bases.py#L104). +[WorldTestBase definition](/test/bases.py#L106). #### Alternatives to WorldTestBase -Unit tests can also be created using [TestBase](/test/bases.py#L14) or +Unit tests can also be created using [TestBase](/test/bases.py#L16) or [unittest.TestCase](https://docs.python.org/3/library/unittest.html#unittest.TestCase) depending on your use case. These may be useful for generating a multiworld under very specific constraints without using the generic world setup, or for testing portions of your code that can be tested without relying on a multiworld to be created first.