Skip to content

Commit

Permalink
Tests: Remove deprecated aiida/manage/tests/main module
Browse files Browse the repository at this point in the history
This module had been deprecated and replaced a long time ago in favor of
`pytest` based fixtures that provide a complete testing environment with
test profiles being created on-the-fly.
  • Loading branch information
sphuber committed Nov 16, 2023
1 parent 5dc1555 commit 5b9da7d
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 704 deletions.
93 changes: 0 additions & 93 deletions .github/system_tests/test_profile_manager.py

This file was deleted.

52 changes: 0 additions & 52 deletions .github/system_tests/test_test_manager.py

This file was deleted.

2 changes: 0 additions & 2 deletions .github/workflows/tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ set -ev
SYSTEM_TESTS="${GITHUB_WORKSPACE}/.github/system_tests"

# tests for the testing infrastructure
pytest --cov aiida --verbose --noconftest ${SYSTEM_TESTS}/test_test_manager.py
pytest --cov aiida --verbose --noconftest ${SYSTEM_TESTS}/test_ipython_magics.py
pytest --cov aiida --verbose --noconftest ${SYSTEM_TESTS}/test_profile_manager.py

# Until the `${SYSTEM_TESTS}/pytest` tests are moved within `tests` we have to run them separately and pass in the path to the
# `conftest.py` explicitly, because otherwise it won't be able to find the fixtures it provides
Expand Down
19 changes: 0 additions & 19 deletions aiida/manage/tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,3 @@
"""
Testing infrastructure for easy testing of AiiDA plugins.
"""

# AUTO-GENERATED

# yapf: disable
# pylint: disable=wildcard-import

from .main import *

__all__ = (
'ProfileManager',
'TemporaryProfileManager',
'TestManager',
'TestManagerError',
'get_test_backend_name',
'get_test_profile_name',
'test_manager',
)

# yapf: enable
Loading

0 comments on commit 5b9da7d

Please sign in to comment.