Skip to content

Commit 62fc7d8

Browse files
committed
fix tests
1 parent 9edeabf commit 62fc7d8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ jobs:
4747
version: '1.4.1'
4848
- name: Install Julia dependencies
4949
run: |
50-
julia --color=yes -e 'using Pkg; Pkg.add(Pkg.PackageSpec(path="https://github.com/APLA-Toolbox/PDDL.jl"))'
5150
julia --color=yes -e 'using Pkg; Pkg.add(Pkg.PackageSpec(path="https://github.com/JuliaPy/PyCall.jl"))'
51+
julia --color=yes -e 'using Pkg; Pkg.add(Pkg.PackageSpec(path="https://github.com/APLA-Toolbox/PDDL.jl"))'
5252
- name: Install Python dependencies
5353
run: |
5454
python -m pip install --upgrade pip

tests/test_astar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def test_astar_init():
1919
def test_astar_goal():
2020
apla = AutomatedPlanner("data/domain.pddl", "data/problem.pddl")
2121
path, _ = apla.astar_best_first_search()
22-
assert apla.available_heuristics["goal_count"](path[-1], apla) == 0
22+
assert apla.available_heuristics["goal_count"](path[-1].state, apla) == 0
2323

2424

2525
def test_astar_path_length():

0 commit comments

Comments
 (0)