Cache after sleep near labeled chests
This commit is contained in:
@@ -29,9 +29,11 @@ class SignWorkTargetTests(unittest.TestCase):
|
||||
return crop_state
|
||||
|
||||
state = GatherCropStates(Munch(world=FakeWorld(), pos=(0, 64, 0)))
|
||||
state.completed_crops = 7
|
||||
state.find_new_crop()
|
||||
|
||||
self.assertIs(state.state.__func__, state.wait_for_crops.__func__)
|
||||
self.assertIs(state.state.__func__, state.cleanup.__func__)
|
||||
self.assertEqual(state.completed_crops, 0)
|
||||
self.assertEqual(state.bad_crops, [])
|
||||
|
||||
def test_tree_search_skips_out_of_bounds_tree_without_blacklisting_it(self):
|
||||
|
||||
Reference in New Issue
Block a user