Skip to content

Commit

Permalink
Update entry points in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kmlefran committed Jan 21, 2024
1 parent 9ee0146 commit d05d6f3
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion tests/calculations/test_aimqbcalculation.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def test_aimqb_default(
fixture_sandbox, generate_calc_job, fixture_code, filepath_tests
):
"""Tests that an aimcalculation can be instantiated"""
entry_point_name = "aimall"
entry_point_name = "aimall.aimqb"
parameters = AimqbParameters({"naat": 2, "nproc": 2, "atlaprhocps": True})
inputs = {
"code": fixture_code("aimall"),
Expand Down
2 changes: 1 addition & 1 deletion tests/calculations/test_gaussianwfxcalculation.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

def test_gaussianwfx_default(fixture_sandbox, generate_calc_job, fixture_code):
"""Tests that a GaussianWFXCalculation can be instantiated"""
entry_point_name = "gaussianwfx"
entry_point_name = "aimall.gaussianwfx"
g16_sp_params = {
"functional": "PBE1PBE",
"basis_set": "6-31g",
Expand Down
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ def _generate_workchain_aimreor(
from aiida.orm import Dict
from plumpy import ProcessState

entry_point = "aimreor"
entry_point = "aimall.aimreor"

if inputs is None:
aimreor_inputs = AimqbParameters({"naat": 2, "nproc": 2})
Expand Down
2 changes: 1 addition & 1 deletion tests/data/test_aimqbparameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def test_data():
note this does not test that the expected outputs are created of output parsing"""
# load_profile()
# Prepare input parameters
AimqbParameters = DataFactory("aimall")
AimqbParameters = DataFactory("aimall.aimqb")
parameters = AimqbParameters({"naat": 2, "nproc": 2, "atlaprhocps": True})
assert isinstance(parameters, AimqbParameters)
# file = SinglefileData(
Expand Down
4 changes: 2 additions & 2 deletions tests/parsers/test_aimqbbaseparser.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ def test_aimqb_parser_default( # pylint:disable=too-many-arguments
):
"""Test an aimqb calculation"""
name = "default"
entry_point_calc_job = "aimall"
entry_point_parser = "aimqb.base"
entry_point_calc_job = "aimall.aimqb"
entry_point_parser = "aimall.base"
node = generate_calc_job_node(
entry_point_calc_job,
fixture_localhost,
Expand Down
4 changes: 2 additions & 2 deletions tests/parsers/test_aimqbgroupparser
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ def test_aimqb_parser_group( # pylint:disable=too-many-arguments
):
"""Test an aimqb calculation"""
name = "group"
entry_point_calc_job = "aimall"
entry_point_parser = "aimqb.group"
entry_point_calc_job = "aimall.aimqb"
entry_point_parser = "aimall.group"
node = generate_calc_job_node(
entry_point_calc_job,
fixture_localhost,
Expand Down

0 comments on commit d05d6f3

Please sign in to comment.