From d05d6f355f198601c63b7d11aacf89cf338c1237 Mon Sep 17 00:00:00 2001 From: kmlefran Date: Sun, 21 Jan 2024 13:27:13 -0500 Subject: [PATCH] Update entry points in tests --- tests/calculations/test_aimqbcalculation.py | 2 +- tests/calculations/test_gaussianwfxcalculation.py | 2 +- tests/conftest.py | 2 +- tests/data/test_aimqbparameters.py | 2 +- tests/parsers/test_aimqbbaseparser.py | 4 ++-- tests/parsers/test_aimqbgroupparser | 4 ++-- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/calculations/test_aimqbcalculation.py b/tests/calculations/test_aimqbcalculation.py index 3a35ecc..6d7a99b 100644 --- a/tests/calculations/test_aimqbcalculation.py +++ b/tests/calculations/test_aimqbcalculation.py @@ -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"), diff --git a/tests/calculations/test_gaussianwfxcalculation.py b/tests/calculations/test_gaussianwfxcalculation.py index 8f482fe..b886a4d 100644 --- a/tests/calculations/test_gaussianwfxcalculation.py +++ b/tests/calculations/test_gaussianwfxcalculation.py @@ -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", diff --git a/tests/conftest.py b/tests/conftest.py index 4e0a443..45be3cd 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -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}) diff --git a/tests/data/test_aimqbparameters.py b/tests/data/test_aimqbparameters.py index 6346052..e77cfd5 100644 --- a/tests/data/test_aimqbparameters.py +++ b/tests/data/test_aimqbparameters.py @@ -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( diff --git a/tests/parsers/test_aimqbbaseparser.py b/tests/parsers/test_aimqbbaseparser.py index e171acb..55571a0 100644 --- a/tests/parsers/test_aimqbbaseparser.py +++ b/tests/parsers/test_aimqbbaseparser.py @@ -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, diff --git a/tests/parsers/test_aimqbgroupparser b/tests/parsers/test_aimqbgroupparser index 0b57455..bbc8174 100644 --- a/tests/parsers/test_aimqbgroupparser +++ b/tests/parsers/test_aimqbgroupparser @@ -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,