Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to MC version 1.21 (fixes to tests) #170

Merged
merged 1 commit into from
Jun 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.

Loading