Skip to content

Commit

Permalink
Initial fix of old pytest errors
Browse files Browse the repository at this point in the history
  • Loading branch information
kmlefran committed Jul 16, 2024
1 parent a44277c commit 59e4e8b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 60 deletions.
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ dependencies = [
"multiprocess",
"subproptools",
"group_decomposition",
"pymatgen"
"pymatgen",
"aiida-shell"
]

[project.urls]
Expand Down
5 changes: 3 additions & 2 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# from collections.abc import Mapping


pytest_plugins = ["aiida.manage.tests.pytest_fixtures"] # pylint: disable=invalid-name
pytest_plugins = ["aiida.tools.pytest_fixtures"] # pylint: disable=invalid-name


@pytest.fixture(scope="session")
Expand Down Expand Up @@ -190,7 +190,8 @@ def _generate_calc_job_node( # pylint:disable=too-many-arguments
filename = os.path.join(entry_point_name, test_name)
filepath_folder = os.path.join(basepath, "parsers", "fixtures", filename)
filepath_input = os.path.join(filepath_folder, "aiida.in")

else:
filepath_input = "notestname"
entry_point = format_entry_point_string("aiida.calculations", entry_point_name)

node = orm.CalcJobNode(computer=computer, process_type=entry_point)
Expand Down
57 changes: 0 additions & 57 deletions tests/controllers/test_g16fragcontroller.py

This file was deleted.

0 comments on commit 59e4e8b

Please sign in to comment.