diff --git a/tests/io/aims/sets/test_bs_generator.py b/tests/io/aims/sets/test_bs_generator.py index 0f5e452e473..9213d1d67c0 100644 --- a/tests/io/aims/sets/test_bs_generator.py +++ b/tests/io/aims/sets/test_bs_generator.py @@ -2,10 +2,11 @@ from __future__ import annotations -from aims.conftest import Si, comp_system from pymatgen.io.aims.sets.bs import BandStructureSetGenerator from pymatgen.util.testing import TEST_FILES_DIR +from ..conftest import Si, comp_system # noqa: TID252 + SPECIES_DIR = TEST_FILES_DIR / "io/aims/species_directory" REF_PATH = TEST_FILES_DIR / "io/aims/aims_input_generator_ref" diff --git a/tests/io/aims/sets/test_gw_generator.py b/tests/io/aims/sets/test_gw_generator.py index 8842d397acf..2df8af0a1ff 100644 --- a/tests/io/aims/sets/test_gw_generator.py +++ b/tests/io/aims/sets/test_gw_generator.py @@ -2,10 +2,11 @@ from __future__ import annotations -from aims.conftest import Si, comp_system from pymatgen.io.aims.sets.bs import GWSetGenerator from pymatgen.util.testing import TEST_FILES_DIR +from ..conftest import Si, comp_system # noqa: TID252 + SPECIES_DIR = TEST_FILES_DIR / "io/aims/species_directory" REF_PATH = TEST_FILES_DIR / "io/aims/aims_input_generator_ref" diff --git a/tests/io/aims/sets/test_md_generator.py b/tests/io/aims/sets/test_md_generator.py index b439aeead94..3b01a0af4a9 100644 --- a/tests/io/aims/sets/test_md_generator.py +++ b/tests/io/aims/sets/test_md_generator.py @@ -4,10 +4,11 @@ import pytest -from aims.conftest import Si, compare_files from pymatgen.io.aims.sets.core import MDSetGenerator from pymatgen.util.testing import TEST_FILES_DIR +from ..conftest import Si, compare_files # noqa: TID252 + SPECIES_DIR = TEST_FILES_DIR / "io/aims/species_directory" REF_PATH = TEST_FILES_DIR / "io/aims/aims_input_generator_ref" diff --git a/tests/io/aims/sets/test_relax_generator.py b/tests/io/aims/sets/test_relax_generator.py index 800548f183f..ce76f05b5ea 100644 --- a/tests/io/aims/sets/test_relax_generator.py +++ b/tests/io/aims/sets/test_relax_generator.py @@ -1,9 +1,10 @@ from __future__ import annotations -from aims.conftest import O2, Si, comp_system from pymatgen.io.aims.sets.core import RelaxSetGenerator from pymatgen.util.testing import TEST_FILES_DIR +from ..conftest import O2, Si, comp_system # noqa: TID252 + SPECIES_DIR = TEST_FILES_DIR / "io/aims/species_directory" REF_PATH = TEST_FILES_DIR / "io/aims/aims_input_generator_ref" diff --git a/tests/io/aims/sets/test_static_generator.py b/tests/io/aims/sets/test_static_generator.py index 7ef4892a930..8bfda369b1f 100644 --- a/tests/io/aims/sets/test_static_generator.py +++ b/tests/io/aims/sets/test_static_generator.py @@ -1,9 +1,10 @@ from __future__ import annotations -from aims.conftest import O2, Si, comp_system from pymatgen.io.aims.sets.core import StaticSetGenerator from pymatgen.util.testing import TEST_FILES_DIR +from ..conftest import O2, Si, comp_system # noqa: TID252 + REF_PATH = TEST_FILES_DIR / "io/aims/aims_input_generator_ref" diff --git a/tests/io/aims/sets/test_static_restart_from_relax_generator.py b/tests/io/aims/sets/test_static_restart_from_relax_generator.py index b806738d61b..4ffe2a8038a 100644 --- a/tests/io/aims/sets/test_static_restart_from_relax_generator.py +++ b/tests/io/aims/sets/test_static_restart_from_relax_generator.py @@ -2,10 +2,11 @@ from __future__ import annotations -from aims.conftest import O2, Si, comp_system from pymatgen.io.aims.sets.core import StaticSetGenerator from pymatgen.util.testing import TEST_FILES_DIR +from ..conftest import O2, Si, comp_system # noqa: TID252 + SPECIES_DIR = TEST_FILES_DIR / "io/aims/species_directory" REF_PATH = (TEST_FILES_DIR / "io/aims/aims_input_generator_ref").resolve()