Skip to content

Commit

Permalink
🧪 ENHSP fails more on MineHCraft now ?
Browse files Browse the repository at this point in the history
  • Loading branch information
MathisFederico committed Jan 16, 2024
1 parent 7bce83d commit 1af3f87
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions tests/examples/minecraft/test_behaviors.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@

from hcraft.elements import Item
from hcraft.behaviors.utils import get_items_in_graph, get_zones_items_in_graph
from hcraft.examples.minecraft.env import MineHcraftEnv
from hcraft.examples.minecraft.env import ALL_ITEMS, MineHcraftEnv
from hcraft.examples.minecraft.items import (
MC_FINDABLE_ITEMS,
OPEN_NETHER_PORTAL,
STICK,
WOOD_PLANK,
Expand Down Expand Up @@ -73,6 +72,11 @@ def test_solving_behaviors():


KNOWN_TO_FAIL_ITEM_ENHSP = [
"reeds",
"wood_pickaxe",
"wood_axe",
"cobblestone",
"coal",
"leather",
"book",
"flint_and_steel",
Expand Down Expand Up @@ -105,7 +109,7 @@ def test_solving_behaviors():


@pytest.mark.slow
@pytest.mark.parametrize("item", [item.item.name for item in MC_FINDABLE_ITEMS])
@pytest.mark.parametrize("item", [item.name for item in ALL_ITEMS])
def test_get_all_items_pddl(item: str):
"""All items should be gettable by planning behavior."""
up = pytest.importorskip("unified_planning")
Expand Down

0 comments on commit 1af3f87

Please sign in to comment.