Linting again
This commit is contained in:
parent
73952a42f3
commit
c329150aac
|
@ -96,9 +96,9 @@ class TestEntities(unittest.TestCase):
|
||||||
self.map.add_entity(entity)
|
self.map.add_entity(entity)
|
||||||
self.map.add_entity(fam)
|
self.map.add_entity(fam)
|
||||||
|
|
||||||
self.player.move(1,6)
|
self.player.move(1, 6)
|
||||||
entity.move(2,6)
|
entity.move(2, 6)
|
||||||
fam.move(2,7)
|
fam.move(2, 7)
|
||||||
|
|
||||||
entity.health = 2
|
entity.health = 2
|
||||||
entity.paths = []
|
entity.paths = []
|
||||||
|
@ -107,8 +107,8 @@ class TestEntities(unittest.TestCase):
|
||||||
self.map.tick(self.player)
|
self.map.tick(self.player)
|
||||||
self.assertTrue(entity.dead)
|
self.assertTrue(entity.dead)
|
||||||
|
|
||||||
self.player.move(5,5)
|
self.player.move(5, 5)
|
||||||
fam.move(4,5)
|
fam.move(4, 5)
|
||||||
fam.target = self.player
|
fam.target = self.player
|
||||||
self.player.move_down()
|
self.player.move_down()
|
||||||
self.map.tick(self.player)
|
self.map.tick(self.player)
|
||||||
|
@ -245,4 +245,3 @@ class TestEntities(unittest.TestCase):
|
||||||
|
|
||||||
player_state = player.save_state()
|
player_state = player.save_state()
|
||||||
self.assertEqual(player_state["current_xp"], 10)
|
self.assertEqual(player_state["current_xp"], 10)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue