diff --git a/squirrelbattle/tests/mapgeneration_test.py b/squirrelbattle/tests/mapgeneration_test.py index abaed1b..ed0951c 100644 --- a/squirrelbattle/tests/mapgeneration_test.py +++ b/squirrelbattle/tests/mapgeneration_test.py @@ -9,7 +9,10 @@ from squirrelbattle.mapgeneration import randomwalk class TestRandomWalk(unittest.TestCase): def setUp(self) -> None: - self.generator = randomwalk.Generator() + #we set no_lone_walls to true for 100% coverage + params = randomwalk.DEFAULT_PARAMS + params["no_lone_walls"] = True + self.generator = randomwalk.Generator(params = params) def test_starting(self) -> None: """