mirror of
https://github.com/evennia/evennia.git
synced 2026-03-28 10:37:16 +01:00
Fix unit tests
This commit is contained in:
parent
2b61637d61
commit
0a0bb9eb22
1 changed files with 2 additions and 3 deletions
|
|
@ -458,8 +458,8 @@ class TestMap3(TestCase):
|
|||
|
||||
@parameterized.expand([
|
||||
((2, 2), 2, None,
|
||||
' # \n / \n # / \n |/ \n # #\n \\ / '
|
||||
'\n # @-# \n |/ \\ \n # #\n / \\ \n# # '),
|
||||
' # \n / \n # / \n |/ \n # #\n |\\ / \n # @-# \n '
|
||||
'|/ \\ \n # #\n / \\ \n# # '),
|
||||
((5, 2), 2, None, ' # \n | \n # \n / \\ \n# @\n \\ / \n # \n | \n # ')
|
||||
])
|
||||
def test_get_map_display__nodes__character(self, coord, dist, max_size, expected):
|
||||
|
|
@ -631,5 +631,4 @@ class TestMap8(TestCase):
|
|||
"""
|
||||
mapstr = self.map.get_map_display(coord, dist=dist, mode='nodes', character='@',
|
||||
max_size=max_size)
|
||||
print(repr(mapstr))
|
||||
self.assertEqual(expected, mapstr)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue