Skip to content

Commit

Permalink
fixes for MC version update
Browse files Browse the repository at this point in the history
  • Loading branch information
Innokenty committed Jun 27, 2024
1 parent 7ffdb64 commit 5ae2fcb
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 114 deletions.
8 changes: 4 additions & 4 deletions tests/vereya/test_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ class TestData(BaseTest):

@classmethod
def setUpClass(cls, *args, **kwargs):
start = (-126, 73.0)
mc, obs = init_mission(None, start_x=start[0], start_z=start[1], seed='4', forceReset='true')
start = (-108.0, -187.0)
mc, obs = init_mission(None, start_x=start[0], start_z=start[1], seed='5', forceReset='true')
cls.mc = mc
cls.rob = obs
mc.safeStart()
time.sleep(1)
assert mc.safeStart()
time.sleep(4)

@classmethod
def tearDownClass(cls, *args, **kwargs):
Expand Down
2 changes: 1 addition & 1 deletion tests/vereya/test_observation.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def test_observation_from_ray_cached(self):
return self._observation_from_ray(lambda: self.rob.getCachedObserve('getLineOfSights'))

def test_observation_from_chat(self):
logger.info("send chat ")
logger.info("send chat")
self.mc.sendCommand("chat get wooden_axe")
time.sleep(1)
logger.info("wait chat")
Expand Down
9 changes: 4 additions & 5 deletions tests/vereya/test_placement.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,12 @@ class TestPlacement(BaseTest):

@classmethod
def setUpClass(cls, *args, **kwargs):
start = (-125.0, 73)
mc, obs = init_mission(None, start_x=start[0], start_z=start[1], seed=4,
forceReset='true')
start = (-108.0, -187.0)
mc, obs = init_mission(None, start_x=start[0], start_z=start[1], seed='5', forceReset='true')
cls.mc = mc
cls.rob = obs
mc.safeStart()
time.sleep(1)
assert mc.safeStart()
time.sleep(4)

@classmethod
def tearDownClass(cls, *args, **kwargs):
Expand Down
104 changes: 0 additions & 104 deletions tests/vereya/test_vereya.py

This file was deleted.

0 comments on commit 5ae2fcb

Please sign in to comment.