diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ed1f91ae01..390831fcd1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,8 +14,7 @@ args: ["-i"] exclude: &exclude_files > (?x)^( - docs/.*| - examples/.*| + .ci/workchains.py| aiida/backends/djsite/queries.py| aiida/backends/djsite/db/models.py| aiida/backends/djsite/db/migrations/0001_initial.py| @@ -50,9 +49,6 @@ aiida/backends/sqlalchemy/models/computer.py| aiida/backends/sqlalchemy/models/settings.py| aiida/backends/sqlalchemy/models/node.py| - aiida/backends/tests/engine/test_work_chain.py| - aiida/backends/tests/test_dataclasses.py| - aiida/backends/tests/test_nodes.py| aiida/backends/utils.py| aiida/common/datastructures.py| aiida/engine/daemon/execmanager.py| @@ -98,7 +94,11 @@ aiida/transports/plugins/test_all_plugins.py| aiida/transports/plugins/test_local.py| aiida/transports/plugins/test_ssh.py| - .ci/workchains.py| + docs/.*| + examples/.*| + tests/engine/test_work_chain.py| + tests/test_dataclasses.py| + tests/test_nodes.py| )$ # prospector: collection of linters diff --git a/aiida/backends/sqlalchemy/tests/testbase.py b/aiida/backends/sqlalchemy/testbase.py similarity index 100% rename from aiida/backends/sqlalchemy/tests/testbase.py rename to aiida/backends/sqlalchemy/testbase.py diff --git a/aiida/backends/tests/__init__.py b/tests/__init__.py similarity index 100% rename from aiida/backends/tests/__init__.py rename to tests/__init__.py diff --git a/aiida/backends/djsite/db/subtests/__init__.py b/tests/backends/aiida_django/__init__.py similarity index 100% rename from aiida/backends/djsite/db/subtests/__init__.py rename to tests/backends/aiida_django/__init__.py diff --git a/aiida/backends/djsite/conftest.py b/tests/backends/aiida_django/conftest.py similarity index 100% rename from aiida/backends/djsite/conftest.py rename to tests/backends/aiida_django/conftest.py diff --git a/aiida/backends/djsite/db/subtests/migrations/__init__.py b/tests/backends/aiida_django/migrations/__init__.py similarity index 100% rename from aiida/backends/djsite/db/subtests/migrations/__init__.py rename to tests/backends/aiida_django/migrations/__init__.py diff --git a/aiida/backends/djsite/db/subtests/migrations/test_migrations_0037_attributes_extras_settings_json.py b/tests/backends/aiida_django/migrations/test_migrations_0037_attributes_extras_settings_json.py similarity index 100% rename from aiida/backends/djsite/db/subtests/migrations/test_migrations_0037_attributes_extras_settings_json.py rename to tests/backends/aiida_django/migrations/test_migrations_0037_attributes_extras_settings_json.py diff --git a/aiida/backends/djsite/db/subtests/migrations/test_migrations_0038_data_migration_legacy_job_calculations.py b/tests/backends/aiida_django/migrations/test_migrations_0038_data_migration_legacy_job_calculations.py similarity index 100% rename from aiida/backends/djsite/db/subtests/migrations/test_migrations_0038_data_migration_legacy_job_calculations.py rename to tests/backends/aiida_django/migrations/test_migrations_0038_data_migration_legacy_job_calculations.py diff --git a/aiida/backends/djsite/db/subtests/migrations/test_migrations_0040_data_migration_legacy_process_attributes.py b/tests/backends/aiida_django/migrations/test_migrations_0040_data_migration_legacy_process_attributes.py similarity index 100% rename from aiida/backends/djsite/db/subtests/migrations/test_migrations_0040_data_migration_legacy_process_attributes.py rename to tests/backends/aiida_django/migrations/test_migrations_0040_data_migration_legacy_process_attributes.py diff --git a/aiida/backends/djsite/db/subtests/migrations/test_migrations_0041_seal_unsealed_processes.py b/tests/backends/aiida_django/migrations/test_migrations_0041_seal_unsealed_processes.py similarity index 100% rename from aiida/backends/djsite/db/subtests/migrations/test_migrations_0041_seal_unsealed_processes.py rename to tests/backends/aiida_django/migrations/test_migrations_0041_seal_unsealed_processes.py diff --git a/aiida/backends/djsite/db/subtests/migrations/test_migrations_0043_default_link_label.py b/tests/backends/aiida_django/migrations/test_migrations_0043_default_link_label.py similarity index 100% rename from aiida/backends/djsite/db/subtests/migrations/test_migrations_0043_default_link_label.py rename to tests/backends/aiida_django/migrations/test_migrations_0043_default_link_label.py diff --git a/aiida/backends/djsite/db/subtests/migrations/test_migrations_common.py b/tests/backends/aiida_django/migrations/test_migrations_common.py similarity index 100% rename from aiida/backends/djsite/db/subtests/migrations/test_migrations_common.py rename to tests/backends/aiida_django/migrations/test_migrations_common.py diff --git a/aiida/backends/djsite/db/subtests/migrations/test_migrations_many.py b/tests/backends/aiida_django/migrations/test_migrations_many.py similarity index 100% rename from aiida/backends/djsite/db/subtests/migrations/test_migrations_many.py rename to tests/backends/aiida_django/migrations/test_migrations_many.py diff --git a/aiida/backends/djsite/db/subtests/test_generic.py b/tests/backends/aiida_django/test_generic.py similarity index 100% rename from aiida/backends/djsite/db/subtests/test_generic.py rename to tests/backends/aiida_django/test_generic.py diff --git a/aiida/backends/sqlalchemy/tests/__init__.py b/tests/backends/aiida_sqlalchemy/__init__.py similarity index 100% rename from aiida/backends/sqlalchemy/tests/__init__.py rename to tests/backends/aiida_sqlalchemy/__init__.py diff --git a/aiida/backends/sqlalchemy/conftest.py b/tests/backends/aiida_sqlalchemy/conftest.py similarity index 100% rename from aiida/backends/sqlalchemy/conftest.py rename to tests/backends/aiida_sqlalchemy/conftest.py diff --git a/aiida/backends/sqlalchemy/tests/test_generic.py b/tests/backends/aiida_sqlalchemy/test_generic.py similarity index 100% rename from aiida/backends/sqlalchemy/tests/test_generic.py rename to tests/backends/aiida_sqlalchemy/test_generic.py diff --git a/aiida/backends/sqlalchemy/tests/test_migrations.py b/tests/backends/aiida_sqlalchemy/test_migrations.py similarity index 100% rename from aiida/backends/sqlalchemy/tests/test_migrations.py rename to tests/backends/aiida_sqlalchemy/test_migrations.py diff --git a/aiida/backends/sqlalchemy/tests/test_nodes.py b/tests/backends/aiida_sqlalchemy/test_nodes.py similarity index 100% rename from aiida/backends/sqlalchemy/tests/test_nodes.py rename to tests/backends/aiida_sqlalchemy/test_nodes.py diff --git a/aiida/backends/sqlalchemy/tests/test_query.py b/tests/backends/aiida_sqlalchemy/test_query.py similarity index 100% rename from aiida/backends/sqlalchemy/tests/test_query.py rename to tests/backends/aiida_sqlalchemy/test_query.py diff --git a/aiida/backends/sqlalchemy/tests/test_schema.py b/tests/backends/aiida_sqlalchemy/test_schema.py similarity index 100% rename from aiida/backends/sqlalchemy/tests/test_schema.py rename to tests/backends/aiida_sqlalchemy/test_schema.py diff --git a/aiida/backends/sqlalchemy/tests/test_session.py b/tests/backends/aiida_sqlalchemy/test_session.py similarity index 100% rename from aiida/backends/sqlalchemy/tests/test_session.py rename to tests/backends/aiida_sqlalchemy/test_session.py diff --git a/aiida/backends/sqlalchemy/tests/test_utils.py b/tests/backends/aiida_sqlalchemy/test_utils.py similarity index 100% rename from aiida/backends/sqlalchemy/tests/test_utils.py rename to tests/backends/aiida_sqlalchemy/test_utils.py diff --git a/aiida/backends/tests/cmdline/__init__.py b/tests/cmdline/__init__.py similarity index 100% rename from aiida/backends/tests/cmdline/__init__.py rename to tests/cmdline/__init__.py diff --git a/aiida/backends/tests/cmdline/commands/__init__.py b/tests/cmdline/commands/__init__.py similarity index 100% rename from aiida/backends/tests/cmdline/commands/__init__.py rename to tests/cmdline/commands/__init__.py diff --git a/aiida/backends/tests/cmdline/commands/test_calcjob.py b/tests/cmdline/commands/test_calcjob.py similarity index 100% rename from aiida/backends/tests/cmdline/commands/test_calcjob.py rename to tests/cmdline/commands/test_calcjob.py diff --git a/aiida/backends/tests/cmdline/commands/test_code.py b/tests/cmdline/commands/test_code.py similarity index 100% rename from aiida/backends/tests/cmdline/commands/test_code.py rename to tests/cmdline/commands/test_code.py diff --git a/aiida/backends/tests/cmdline/commands/test_comment.py b/tests/cmdline/commands/test_comment.py similarity index 100% rename from aiida/backends/tests/cmdline/commands/test_comment.py rename to tests/cmdline/commands/test_comment.py diff --git a/aiida/backends/tests/cmdline/commands/test_computer.py b/tests/cmdline/commands/test_computer.py similarity index 100% rename from aiida/backends/tests/cmdline/commands/test_computer.py rename to tests/cmdline/commands/test_computer.py diff --git a/aiida/backends/tests/cmdline/commands/test_config.py b/tests/cmdline/commands/test_config.py similarity index 100% rename from aiida/backends/tests/cmdline/commands/test_config.py rename to tests/cmdline/commands/test_config.py diff --git a/aiida/backends/tests/cmdline/commands/test_daemon.py b/tests/cmdline/commands/test_daemon.py similarity index 100% rename from aiida/backends/tests/cmdline/commands/test_daemon.py rename to tests/cmdline/commands/test_daemon.py diff --git a/aiida/backends/tests/cmdline/commands/test_data.py b/tests/cmdline/commands/test_data.py similarity index 100% rename from aiida/backends/tests/cmdline/commands/test_data.py rename to tests/cmdline/commands/test_data.py diff --git a/aiida/backends/tests/cmdline/commands/test_database.py b/tests/cmdline/commands/test_database.py similarity index 100% rename from aiida/backends/tests/cmdline/commands/test_database.py rename to tests/cmdline/commands/test_database.py diff --git a/aiida/backends/tests/cmdline/commands/test_export.py b/tests/cmdline/commands/test_export.py similarity index 100% rename from aiida/backends/tests/cmdline/commands/test_export.py rename to tests/cmdline/commands/test_export.py diff --git a/aiida/backends/tests/cmdline/commands/test_graph.py b/tests/cmdline/commands/test_graph.py similarity index 100% rename from aiida/backends/tests/cmdline/commands/test_graph.py rename to tests/cmdline/commands/test_graph.py diff --git a/aiida/backends/tests/cmdline/commands/test_group.py b/tests/cmdline/commands/test_group.py similarity index 100% rename from aiida/backends/tests/cmdline/commands/test_group.py rename to tests/cmdline/commands/test_group.py diff --git a/aiida/backends/tests/cmdline/commands/test_help.py b/tests/cmdline/commands/test_help.py similarity index 100% rename from aiida/backends/tests/cmdline/commands/test_help.py rename to tests/cmdline/commands/test_help.py diff --git a/aiida/backends/tests/cmdline/commands/test_import.py b/tests/cmdline/commands/test_import.py similarity index 100% rename from aiida/backends/tests/cmdline/commands/test_import.py rename to tests/cmdline/commands/test_import.py diff --git a/aiida/backends/tests/cmdline/commands/test_node.py b/tests/cmdline/commands/test_node.py similarity index 100% rename from aiida/backends/tests/cmdline/commands/test_node.py rename to tests/cmdline/commands/test_node.py diff --git a/aiida/backends/tests/cmdline/commands/test_process.py b/tests/cmdline/commands/test_process.py similarity index 100% rename from aiida/backends/tests/cmdline/commands/test_process.py rename to tests/cmdline/commands/test_process.py diff --git a/aiida/backends/tests/cmdline/commands/test_profile.py b/tests/cmdline/commands/test_profile.py similarity index 100% rename from aiida/backends/tests/cmdline/commands/test_profile.py rename to tests/cmdline/commands/test_profile.py diff --git a/aiida/backends/tests/cmdline/commands/test_rehash.py b/tests/cmdline/commands/test_rehash.py similarity index 100% rename from aiida/backends/tests/cmdline/commands/test_rehash.py rename to tests/cmdline/commands/test_rehash.py diff --git a/aiida/backends/tests/cmdline/commands/test_restapi.py b/tests/cmdline/commands/test_restapi.py similarity index 100% rename from aiida/backends/tests/cmdline/commands/test_restapi.py rename to tests/cmdline/commands/test_restapi.py diff --git a/aiida/backends/tests/cmdline/commands/test_run.py b/tests/cmdline/commands/test_run.py similarity index 100% rename from aiida/backends/tests/cmdline/commands/test_run.py rename to tests/cmdline/commands/test_run.py diff --git a/aiida/backends/tests/cmdline/commands/test_setup.py b/tests/cmdline/commands/test_setup.py similarity index 100% rename from aiida/backends/tests/cmdline/commands/test_setup.py rename to tests/cmdline/commands/test_setup.py diff --git a/aiida/backends/tests/cmdline/commands/test_status.py b/tests/cmdline/commands/test_status.py similarity index 100% rename from aiida/backends/tests/cmdline/commands/test_status.py rename to tests/cmdline/commands/test_status.py diff --git a/aiida/backends/tests/cmdline/commands/test_user.py b/tests/cmdline/commands/test_user.py similarity index 100% rename from aiida/backends/tests/cmdline/commands/test_user.py rename to tests/cmdline/commands/test_user.py diff --git a/aiida/backends/tests/cmdline/commands/test_verdi.py b/tests/cmdline/commands/test_verdi.py similarity index 100% rename from aiida/backends/tests/cmdline/commands/test_verdi.py rename to tests/cmdline/commands/test_verdi.py diff --git a/aiida/backends/tests/cmdline/params/__init__.py b/tests/cmdline/params/__init__.py similarity index 100% rename from aiida/backends/tests/cmdline/params/__init__.py rename to tests/cmdline/params/__init__.py diff --git a/aiida/cmdline/params/options/test_conditional.py b/tests/cmdline/params/options/test_conditional.py similarity index 100% rename from aiida/cmdline/params/options/test_conditional.py rename to tests/cmdline/params/options/test_conditional.py diff --git a/aiida/cmdline/params/options/test_interactive.py b/tests/cmdline/params/options/test_interactive.py similarity index 100% rename from aiida/cmdline/params/options/test_interactive.py rename to tests/cmdline/params/options/test_interactive.py diff --git a/aiida/backends/tests/cmdline/params/types/__init__.py b/tests/cmdline/params/types/__init__.py similarity index 100% rename from aiida/backends/tests/cmdline/params/types/__init__.py rename to tests/cmdline/params/types/__init__.py diff --git a/aiida/backends/tests/cmdline/params/types/test_calculation.py b/tests/cmdline/params/types/test_calculation.py similarity index 100% rename from aiida/backends/tests/cmdline/params/types/test_calculation.py rename to tests/cmdline/params/types/test_calculation.py diff --git a/aiida/backends/tests/cmdline/params/types/test_code.py b/tests/cmdline/params/types/test_code.py similarity index 100% rename from aiida/backends/tests/cmdline/params/types/test_code.py rename to tests/cmdline/params/types/test_code.py diff --git a/aiida/backends/tests/cmdline/params/types/test_computer.py b/tests/cmdline/params/types/test_computer.py similarity index 100% rename from aiida/backends/tests/cmdline/params/types/test_computer.py rename to tests/cmdline/params/types/test_computer.py diff --git a/aiida/backends/tests/cmdline/params/types/test_data.py b/tests/cmdline/params/types/test_data.py similarity index 100% rename from aiida/backends/tests/cmdline/params/types/test_data.py rename to tests/cmdline/params/types/test_data.py diff --git a/aiida/backends/tests/cmdline/params/types/test_group.py b/tests/cmdline/params/types/test_group.py similarity index 100% rename from aiida/backends/tests/cmdline/params/types/test_group.py rename to tests/cmdline/params/types/test_group.py diff --git a/aiida/backends/tests/cmdline/params/types/test_identifier.py b/tests/cmdline/params/types/test_identifier.py similarity index 100% rename from aiida/backends/tests/cmdline/params/types/test_identifier.py rename to tests/cmdline/params/types/test_identifier.py diff --git a/aiida/backends/tests/cmdline/params/types/test_node.py b/tests/cmdline/params/types/test_node.py similarity index 100% rename from aiida/backends/tests/cmdline/params/types/test_node.py rename to tests/cmdline/params/types/test_node.py diff --git a/aiida/backends/tests/cmdline/params/types/test_path.py b/tests/cmdline/params/types/test_path.py similarity index 100% rename from aiida/backends/tests/cmdline/params/types/test_path.py rename to tests/cmdline/params/types/test_path.py diff --git a/aiida/backends/tests/cmdline/params/types/test_plugin.py b/tests/cmdline/params/types/test_plugin.py similarity index 100% rename from aiida/backends/tests/cmdline/params/types/test_plugin.py rename to tests/cmdline/params/types/test_plugin.py diff --git a/aiida/backends/tests/cmdline/utils/__init__.py b/tests/cmdline/utils/__init__.py similarity index 100% rename from aiida/backends/tests/cmdline/utils/__init__.py rename to tests/cmdline/utils/__init__.py diff --git a/aiida/backends/tests/cmdline/utils/test_common.py b/tests/cmdline/utils/test_common.py similarity index 100% rename from aiida/backends/tests/cmdline/utils/test_common.py rename to tests/cmdline/utils/test_common.py diff --git a/aiida/backends/tests/cmdline/utils/test_daemon.py b/tests/cmdline/utils/test_daemon.py similarity index 100% rename from aiida/backends/tests/cmdline/utils/test_daemon.py rename to tests/cmdline/utils/test_daemon.py diff --git a/aiida/cmdline/utils/test_multiline.py b/tests/cmdline/utils/test_multiline.py similarity index 100% rename from aiida/cmdline/utils/test_multiline.py rename to tests/cmdline/utils/test_multiline.py diff --git a/aiida/backends/tests/common/__init__.py b/tests/common/__init__.py similarity index 100% rename from aiida/backends/tests/common/__init__.py rename to tests/common/__init__.py diff --git a/aiida/backends/tests/common/test_extendeddicts.py b/tests/common/test_extendeddicts.py similarity index 100% rename from aiida/backends/tests/common/test_extendeddicts.py rename to tests/common/test_extendeddicts.py diff --git a/aiida/backends/tests/common/test_folders.py b/tests/common/test_folders.py similarity index 100% rename from aiida/backends/tests/common/test_folders.py rename to tests/common/test_folders.py diff --git a/aiida/backends/tests/common/test_hashing.py b/tests/common/test_hashing.py similarity index 100% rename from aiida/backends/tests/common/test_hashing.py rename to tests/common/test_hashing.py diff --git a/aiida/backends/tests/common/test_lang.py b/tests/common/test_lang.py similarity index 100% rename from aiida/backends/tests/common/test_lang.py rename to tests/common/test_lang.py diff --git a/aiida/backends/tests/common/test_links.py b/tests/common/test_links.py similarity index 100% rename from aiida/backends/tests/common/test_links.py rename to tests/common/test_links.py diff --git a/aiida/backends/tests/common/test_logging.py b/tests/common/test_logging.py similarity index 100% rename from aiida/backends/tests/common/test_logging.py rename to tests/common/test_logging.py diff --git a/aiida/backends/tests/common/test_serialize.py b/tests/common/test_serialize.py similarity index 100% rename from aiida/backends/tests/common/test_serialize.py rename to tests/common/test_serialize.py diff --git a/aiida/backends/tests/common/test_timezone.py b/tests/common/test_timezone.py similarity index 100% rename from aiida/backends/tests/common/test_timezone.py rename to tests/common/test_timezone.py diff --git a/aiida/backends/tests/common/test_utils.py b/tests/common/test_utils.py similarity index 100% rename from aiida/backends/tests/common/test_utils.py rename to tests/common/test_utils.py diff --git a/aiida/backends/tests/engine/__init__.py b/tests/engine/__init__.py similarity index 100% rename from aiida/backends/tests/engine/__init__.py rename to tests/engine/__init__.py diff --git a/aiida/backends/tests/engine/daemon/__init__.py b/tests/engine/daemon/__init__.py similarity index 100% rename from aiida/backends/tests/engine/daemon/__init__.py rename to tests/engine/daemon/__init__.py diff --git a/aiida/backends/tests/engine/daemon/test_client.py b/tests/engine/daemon/test_client.py similarity index 100% rename from aiida/backends/tests/engine/daemon/test_client.py rename to tests/engine/daemon/test_client.py diff --git a/aiida/backends/tests/engine/test_calc_job.py b/tests/engine/test_calc_job.py similarity index 100% rename from aiida/backends/tests/engine/test_calc_job.py rename to tests/engine/test_calc_job.py diff --git a/aiida/backends/tests/engine/test_calcfunctions.py b/tests/engine/test_calcfunctions.py similarity index 100% rename from aiida/backends/tests/engine/test_calcfunctions.py rename to tests/engine/test_calcfunctions.py diff --git a/aiida/backends/tests/engine/test_class_loader.py b/tests/engine/test_class_loader.py similarity index 100% rename from aiida/backends/tests/engine/test_class_loader.py rename to tests/engine/test_class_loader.py diff --git a/aiida/backends/tests/engine/test_daemon.py b/tests/engine/test_daemon.py similarity index 100% rename from aiida/backends/tests/engine/test_daemon.py rename to tests/engine/test_daemon.py diff --git a/aiida/backends/tests/engine/test_futures.py b/tests/engine/test_futures.py similarity index 100% rename from aiida/backends/tests/engine/test_futures.py rename to tests/engine/test_futures.py diff --git a/aiida/backends/tests/engine/test_launch.py b/tests/engine/test_launch.py similarity index 100% rename from aiida/backends/tests/engine/test_launch.py rename to tests/engine/test_launch.py diff --git a/aiida/backends/tests/engine/test_manager.py b/tests/engine/test_manager.py similarity index 100% rename from aiida/backends/tests/engine/test_manager.py rename to tests/engine/test_manager.py diff --git a/aiida/backends/tests/engine/test_persistence.py b/tests/engine/test_persistence.py similarity index 100% rename from aiida/backends/tests/engine/test_persistence.py rename to tests/engine/test_persistence.py diff --git a/aiida/backends/tests/engine/test_ports.py b/tests/engine/test_ports.py similarity index 100% rename from aiida/backends/tests/engine/test_ports.py rename to tests/engine/test_ports.py diff --git a/aiida/backends/tests/engine/test_process.py b/tests/engine/test_process.py similarity index 100% rename from aiida/backends/tests/engine/test_process.py rename to tests/engine/test_process.py diff --git a/aiida/backends/tests/engine/test_process_builder.py b/tests/engine/test_process_builder.py similarity index 100% rename from aiida/backends/tests/engine/test_process_builder.py rename to tests/engine/test_process_builder.py diff --git a/aiida/backends/tests/engine/test_process_function.py b/tests/engine/test_process_function.py similarity index 100% rename from aiida/backends/tests/engine/test_process_function.py rename to tests/engine/test_process_function.py diff --git a/aiida/backends/tests/engine/test_process_spec.py b/tests/engine/test_process_spec.py similarity index 100% rename from aiida/backends/tests/engine/test_process_spec.py rename to tests/engine/test_process_spec.py diff --git a/aiida/backends/tests/engine/test_rmq.py b/tests/engine/test_rmq.py similarity index 100% rename from aiida/backends/tests/engine/test_rmq.py rename to tests/engine/test_rmq.py diff --git a/aiida/backends/tests/engine/test_run.py b/tests/engine/test_run.py similarity index 100% rename from aiida/backends/tests/engine/test_run.py rename to tests/engine/test_run.py diff --git a/aiida/backends/tests/engine/test_runners.py b/tests/engine/test_runners.py similarity index 100% rename from aiida/backends/tests/engine/test_runners.py rename to tests/engine/test_runners.py diff --git a/aiida/backends/tests/engine/test_transport.py b/tests/engine/test_transport.py similarity index 100% rename from aiida/backends/tests/engine/test_transport.py rename to tests/engine/test_transport.py diff --git a/aiida/backends/tests/engine/test_utils.py b/tests/engine/test_utils.py similarity index 100% rename from aiida/backends/tests/engine/test_utils.py rename to tests/engine/test_utils.py diff --git a/aiida/backends/tests/engine/test_work_chain.py b/tests/engine/test_work_chain.py similarity index 100% rename from aiida/backends/tests/engine/test_work_chain.py rename to tests/engine/test_work_chain.py diff --git a/aiida/backends/tests/engine/test_workfunctions.py b/tests/engine/test_workfunctions.py similarity index 100% rename from aiida/backends/tests/engine/test_workfunctions.py rename to tests/engine/test_workfunctions.py diff --git a/aiida/backends/tests/fixtures/calcjob/arithmetic.add.aiida b/tests/fixtures/calcjob/arithmetic.add.aiida similarity index 100% rename from aiida/backends/tests/fixtures/calcjob/arithmetic.add.aiida rename to tests/fixtures/calcjob/arithmetic.add.aiida diff --git a/aiida/backends/tests/fixtures/calcjob/arithmetic.add_old.aiida b/tests/fixtures/calcjob/arithmetic.add_old.aiida similarity index 100% rename from aiida/backends/tests/fixtures/calcjob/arithmetic.add_old.aiida rename to tests/fixtures/calcjob/arithmetic.add_old.aiida diff --git a/aiida/backends/tests/fixtures/data/Si.cif b/tests/fixtures/data/Si.cif similarity index 100% rename from aiida/backends/tests/fixtures/data/Si.cif rename to tests/fixtures/data/Si.cif diff --git a/aiida/backends/tests/fixtures/export/compare/django.aiida b/tests/fixtures/export/compare/django.aiida similarity index 100% rename from aiida/backends/tests/fixtures/export/compare/django.aiida rename to tests/fixtures/export/compare/django.aiida diff --git a/aiida/backends/tests/fixtures/export/compare/sqlalchemy.aiida b/tests/fixtures/export/compare/sqlalchemy.aiida similarity index 100% rename from aiida/backends/tests/fixtures/export/compare/sqlalchemy.aiida rename to tests/fixtures/export/compare/sqlalchemy.aiida diff --git a/aiida/backends/tests/fixtures/export/migrate/empty.aiida b/tests/fixtures/export/migrate/empty.aiida similarity index 100% rename from aiida/backends/tests/fixtures/export/migrate/empty.aiida rename to tests/fixtures/export/migrate/empty.aiida diff --git a/aiida/backends/tests/fixtures/export/migrate/export_v0.1_simple.aiida b/tests/fixtures/export/migrate/export_v0.1_simple.aiida similarity index 100% rename from aiida/backends/tests/fixtures/export/migrate/export_v0.1_simple.aiida rename to tests/fixtures/export/migrate/export_v0.1_simple.aiida diff --git a/aiida/backends/tests/fixtures/export/migrate/export_v0.2_simple.aiida b/tests/fixtures/export/migrate/export_v0.2_simple.aiida similarity index 100% rename from aiida/backends/tests/fixtures/export/migrate/export_v0.2_simple.aiida rename to tests/fixtures/export/migrate/export_v0.2_simple.aiida diff --git a/aiida/backends/tests/fixtures/export/migrate/export_v0.3_simple.aiida b/tests/fixtures/export/migrate/export_v0.3_simple.aiida similarity index 100% rename from aiida/backends/tests/fixtures/export/migrate/export_v0.3_simple.aiida rename to tests/fixtures/export/migrate/export_v0.3_simple.aiida diff --git a/aiida/backends/tests/fixtures/export/migrate/export_v0.4_simple.aiida b/tests/fixtures/export/migrate/export_v0.4_simple.aiida similarity index 100% rename from aiida/backends/tests/fixtures/export/migrate/export_v0.4_simple.aiida rename to tests/fixtures/export/migrate/export_v0.4_simple.aiida diff --git a/aiida/backends/tests/fixtures/export/migrate/export_v0.5_simple.aiida b/tests/fixtures/export/migrate/export_v0.5_simple.aiida similarity index 100% rename from aiida/backends/tests/fixtures/export/migrate/export_v0.5_simple.aiida rename to tests/fixtures/export/migrate/export_v0.5_simple.aiida diff --git a/aiida/backends/tests/fixtures/export/migrate/export_v0.6_simple.aiida b/tests/fixtures/export/migrate/export_v0.6_simple.aiida similarity index 100% rename from aiida/backends/tests/fixtures/export/migrate/export_v0.6_simple.aiida rename to tests/fixtures/export/migrate/export_v0.6_simple.aiida diff --git a/aiida/backends/tests/fixtures/export/migrate/export_v0.7_simple.aiida b/tests/fixtures/export/migrate/export_v0.7_simple.aiida similarity index 100% rename from aiida/backends/tests/fixtures/export/migrate/export_v0.7_simple.aiida rename to tests/fixtures/export/migrate/export_v0.7_simple.aiida diff --git a/aiida/backends/tests/fixtures/export/migrate/export_v0.8_simple.aiida b/tests/fixtures/export/migrate/export_v0.8_simple.aiida similarity index 100% rename from aiida/backends/tests/fixtures/export/migrate/export_v0.8_simple.aiida rename to tests/fixtures/export/migrate/export_v0.8_simple.aiida diff --git a/aiida/backends/tests/fixtures/graphs/graph1.aiida b/tests/fixtures/graphs/graph1.aiida similarity index 100% rename from aiida/backends/tests/fixtures/graphs/graph1.aiida rename to tests/fixtures/graphs/graph1.aiida diff --git a/aiida/backends/tests/fixtures/pseudos/Ba.json b/tests/fixtures/pseudos/Ba.json similarity index 100% rename from aiida/backends/tests/fixtures/pseudos/Ba.json rename to tests/fixtures/pseudos/Ba.json diff --git a/aiida/backends/tests/fixtures/pseudos/Ba.pbesol-spn-rrkjus_psl.0.2.3-tot-pslib030.UPF b/tests/fixtures/pseudos/Ba.pbesol-spn-rrkjus_psl.0.2.3-tot-pslib030.UPF similarity index 100% rename from aiida/backends/tests/fixtures/pseudos/Ba.pbesol-spn-rrkjus_psl.0.2.3-tot-pslib030.UPF rename to tests/fixtures/pseudos/Ba.pbesol-spn-rrkjus_psl.0.2.3-tot-pslib030.UPF diff --git a/aiida/backends/tests/fixtures/pseudos/C.json b/tests/fixtures/pseudos/C.json similarity index 100% rename from aiida/backends/tests/fixtures/pseudos/C.json rename to tests/fixtures/pseudos/C.json diff --git a/aiida/backends/tests/fixtures/pseudos/C_pbe_v1.2.uspp.F.UPF b/tests/fixtures/pseudos/C_pbe_v1.2.uspp.F.UPF similarity index 100% rename from aiida/backends/tests/fixtures/pseudos/C_pbe_v1.2.uspp.F.UPF rename to tests/fixtures/pseudos/C_pbe_v1.2.uspp.F.UPF diff --git a/aiida/backends/tests/fixtures/pseudos/O.pbesol-n-rrkjus_psl.0.1-tested-pslib030.UPF b/tests/fixtures/pseudos/O.pbesol-n-rrkjus_psl.0.1-tested-pslib030.UPF similarity index 100% rename from aiida/backends/tests/fixtures/pseudos/O.pbesol-n-rrkjus_psl.0.1-tested-pslib030.UPF rename to tests/fixtures/pseudos/O.pbesol-n-rrkjus_psl.0.1-tested-pslib030.UPF diff --git a/aiida/backends/tests/fixtures/pseudos/Ti.pbesol-spn-rrkjus_psl.0.2.3-tot-pslib030.UPF b/tests/fixtures/pseudos/Ti.pbesol-spn-rrkjus_psl.0.2.3-tot-pslib030.UPF similarity index 100% rename from aiida/backends/tests/fixtures/pseudos/Ti.pbesol-spn-rrkjus_psl.0.2.3-tot-pslib030.UPF rename to tests/fixtures/pseudos/Ti.pbesol-spn-rrkjus_psl.0.2.3-tot-pslib030.UPF diff --git a/aiida/backends/tests/manage/__init__.py b/tests/manage/__init__.py similarity index 100% rename from aiida/backends/tests/manage/__init__.py rename to tests/manage/__init__.py diff --git a/aiida/backends/tests/manage/backup/__init__.py b/tests/manage/backup/__init__.py similarity index 100% rename from aiida/backends/tests/manage/backup/__init__.py rename to tests/manage/backup/__init__.py diff --git a/aiida/backends/tests/manage/backup/test_backup_script.py b/tests/manage/backup/test_backup_script.py similarity index 100% rename from aiida/backends/tests/manage/backup/test_backup_script.py rename to tests/manage/backup/test_backup_script.py diff --git a/aiida/backends/tests/manage/backup/test_backup_setup_script.py b/tests/manage/backup/test_backup_setup_script.py similarity index 100% rename from aiida/backends/tests/manage/backup/test_backup_setup_script.py rename to tests/manage/backup/test_backup_setup_script.py diff --git a/aiida/backends/tests/manage/configuration/__init__.py b/tests/manage/configuration/__init__.py similarity index 100% rename from aiida/backends/tests/manage/configuration/__init__.py rename to tests/manage/configuration/__init__.py diff --git a/aiida/backends/tests/manage/configuration/migrations/__init__.py b/tests/manage/configuration/migrations/__init__.py similarity index 100% rename from aiida/backends/tests/manage/configuration/migrations/__init__.py rename to tests/manage/configuration/migrations/__init__.py diff --git a/aiida/backends/tests/manage/configuration/migrations/test_migrations.py b/tests/manage/configuration/migrations/test_migrations.py similarity index 100% rename from aiida/backends/tests/manage/configuration/migrations/test_migrations.py rename to tests/manage/configuration/migrations/test_migrations.py diff --git a/aiida/backends/tests/manage/configuration/migrations/test_samples/input/0.json b/tests/manage/configuration/migrations/test_samples/input/0.json similarity index 100% rename from aiida/backends/tests/manage/configuration/migrations/test_samples/input/0.json rename to tests/manage/configuration/migrations/test_samples/input/0.json diff --git a/aiida/backends/tests/manage/configuration/migrations/test_samples/input/1.json b/tests/manage/configuration/migrations/test_samples/input/1.json similarity index 100% rename from aiida/backends/tests/manage/configuration/migrations/test_samples/input/1.json rename to tests/manage/configuration/migrations/test_samples/input/1.json diff --git a/aiida/backends/tests/manage/configuration/migrations/test_samples/input/2.json b/tests/manage/configuration/migrations/test_samples/input/2.json similarity index 100% rename from aiida/backends/tests/manage/configuration/migrations/test_samples/input/2.json rename to tests/manage/configuration/migrations/test_samples/input/2.json diff --git a/aiida/backends/tests/manage/configuration/migrations/test_samples/reference/1.json b/tests/manage/configuration/migrations/test_samples/reference/1.json similarity index 100% rename from aiida/backends/tests/manage/configuration/migrations/test_samples/reference/1.json rename to tests/manage/configuration/migrations/test_samples/reference/1.json diff --git a/aiida/backends/tests/manage/configuration/migrations/test_samples/reference/2.json b/tests/manage/configuration/migrations/test_samples/reference/2.json similarity index 100% rename from aiida/backends/tests/manage/configuration/migrations/test_samples/reference/2.json rename to tests/manage/configuration/migrations/test_samples/reference/2.json diff --git a/aiida/backends/tests/manage/configuration/migrations/test_samples/reference/3.json b/tests/manage/configuration/migrations/test_samples/reference/3.json similarity index 100% rename from aiida/backends/tests/manage/configuration/migrations/test_samples/reference/3.json rename to tests/manage/configuration/migrations/test_samples/reference/3.json diff --git a/aiida/backends/tests/manage/configuration/migrations/test_samples/reference/final.json b/tests/manage/configuration/migrations/test_samples/reference/final.json similarity index 100% rename from aiida/backends/tests/manage/configuration/migrations/test_samples/reference/final.json rename to tests/manage/configuration/migrations/test_samples/reference/final.json diff --git a/aiida/backends/tests/manage/configuration/test_config.py b/tests/manage/configuration/test_config.py similarity index 100% rename from aiida/backends/tests/manage/configuration/test_config.py rename to tests/manage/configuration/test_config.py diff --git a/aiida/backends/tests/manage/configuration/test_options.py b/tests/manage/configuration/test_options.py similarity index 100% rename from aiida/backends/tests/manage/configuration/test_options.py rename to tests/manage/configuration/test_options.py diff --git a/aiida/backends/tests/manage/configuration/test_profile.py b/tests/manage/configuration/test_profile.py similarity index 100% rename from aiida/backends/tests/manage/configuration/test_profile.py rename to tests/manage/configuration/test_profile.py diff --git a/aiida/backends/tests/manage/external/__init__.py b/tests/manage/external/__init__.py similarity index 100% rename from aiida/backends/tests/manage/external/__init__.py rename to tests/manage/external/__init__.py diff --git a/aiida/backends/tests/manage/external/test_postgres.py b/tests/manage/external/test_postgres.py similarity index 100% rename from aiida/backends/tests/manage/external/test_postgres.py rename to tests/manage/external/test_postgres.py diff --git a/aiida/backends/tests/manage/test_caching.py b/tests/manage/test_caching.py similarity index 100% rename from aiida/backends/tests/manage/test_caching.py rename to tests/manage/test_caching.py diff --git a/aiida/backends/tests/orm/__init__.py b/tests/orm/__init__.py similarity index 100% rename from aiida/backends/tests/orm/__init__.py rename to tests/orm/__init__.py diff --git a/aiida/backends/tests/orm/data/__init__.py b/tests/orm/data/__init__.py similarity index 100% rename from aiida/backends/tests/orm/data/__init__.py rename to tests/orm/data/__init__.py diff --git a/aiida/backends/tests/orm/data/test_data.py b/tests/orm/data/test_data.py similarity index 100% rename from aiida/backends/tests/orm/data/test_data.py rename to tests/orm/data/test_data.py diff --git a/aiida/backends/tests/orm/data/test_dict.py b/tests/orm/data/test_dict.py similarity index 100% rename from aiida/backends/tests/orm/data/test_dict.py rename to tests/orm/data/test_dict.py diff --git a/aiida/backends/tests/orm/data/test_folder.py b/tests/orm/data/test_folder.py similarity index 100% rename from aiida/backends/tests/orm/data/test_folder.py rename to tests/orm/data/test_folder.py diff --git a/aiida/backends/tests/orm/data/test_kpoints.py b/tests/orm/data/test_kpoints.py similarity index 100% rename from aiida/backends/tests/orm/data/test_kpoints.py rename to tests/orm/data/test_kpoints.py diff --git a/aiida/backends/tests/orm/data/test_orbital.py b/tests/orm/data/test_orbital.py similarity index 100% rename from aiida/backends/tests/orm/data/test_orbital.py rename to tests/orm/data/test_orbital.py diff --git a/aiida/backends/tests/orm/data/test_remote.py b/tests/orm/data/test_remote.py similarity index 100% rename from aiida/backends/tests/orm/data/test_remote.py rename to tests/orm/data/test_remote.py diff --git a/aiida/backends/tests/orm/data/test_singlefile.py b/tests/orm/data/test_singlefile.py similarity index 100% rename from aiida/backends/tests/orm/data/test_singlefile.py rename to tests/orm/data/test_singlefile.py diff --git a/aiida/backends/tests/orm/data/test_to_aiida_type.py b/tests/orm/data/test_to_aiida_type.py similarity index 100% rename from aiida/backends/tests/orm/data/test_to_aiida_type.py rename to tests/orm/data/test_to_aiida_type.py diff --git a/aiida/backends/tests/orm/data/test_upf.py b/tests/orm/data/test_upf.py similarity index 100% rename from aiida/backends/tests/orm/data/test_upf.py rename to tests/orm/data/test_upf.py diff --git a/aiida/backends/tests/orm/implementation/__init__.py b/tests/orm/implementation/__init__.py similarity index 100% rename from aiida/backends/tests/orm/implementation/__init__.py rename to tests/orm/implementation/__init__.py diff --git a/aiida/backends/tests/orm/implementation/test_backend.py b/tests/orm/implementation/test_backend.py similarity index 100% rename from aiida/backends/tests/orm/implementation/test_backend.py rename to tests/orm/implementation/test_backend.py diff --git a/aiida/backends/tests/orm/implementation/test_comments.py b/tests/orm/implementation/test_comments.py similarity index 100% rename from aiida/backends/tests/orm/implementation/test_comments.py rename to tests/orm/implementation/test_comments.py diff --git a/aiida/backends/tests/orm/implementation/test_logs.py b/tests/orm/implementation/test_logs.py similarity index 100% rename from aiida/backends/tests/orm/implementation/test_logs.py rename to tests/orm/implementation/test_logs.py diff --git a/aiida/backends/tests/orm/implementation/test_nodes.py b/tests/orm/implementation/test_nodes.py similarity index 100% rename from aiida/backends/tests/orm/implementation/test_nodes.py rename to tests/orm/implementation/test_nodes.py diff --git a/aiida/backends/tests/orm/node/__init__.py b/tests/orm/node/__init__.py similarity index 100% rename from aiida/backends/tests/orm/node/__init__.py rename to tests/orm/node/__init__.py diff --git a/aiida/backends/tests/orm/node/test_calcjob.py b/tests/orm/node/test_calcjob.py similarity index 100% rename from aiida/backends/tests/orm/node/test_calcjob.py rename to tests/orm/node/test_calcjob.py diff --git a/aiida/backends/tests/orm/node/test_node.py b/tests/orm/node/test_node.py similarity index 100% rename from aiida/backends/tests/orm/node/test_node.py rename to tests/orm/node/test_node.py diff --git a/aiida/backends/tests/orm/test_authinfos.py b/tests/orm/test_authinfos.py similarity index 100% rename from aiida/backends/tests/orm/test_authinfos.py rename to tests/orm/test_authinfos.py diff --git a/aiida/backends/tests/orm/test_comments.py b/tests/orm/test_comments.py similarity index 100% rename from aiida/backends/tests/orm/test_comments.py rename to tests/orm/test_comments.py diff --git a/aiida/backends/tests/orm/test_computers.py b/tests/orm/test_computers.py similarity index 100% rename from aiida/backends/tests/orm/test_computers.py rename to tests/orm/test_computers.py diff --git a/aiida/backends/tests/orm/test_entities.py b/tests/orm/test_entities.py similarity index 100% rename from aiida/backends/tests/orm/test_entities.py rename to tests/orm/test_entities.py diff --git a/aiida/backends/tests/orm/test_groups.py b/tests/orm/test_groups.py similarity index 100% rename from aiida/backends/tests/orm/test_groups.py rename to tests/orm/test_groups.py diff --git a/aiida/backends/tests/orm/test_logs.py b/tests/orm/test_logs.py similarity index 100% rename from aiida/backends/tests/orm/test_logs.py rename to tests/orm/test_logs.py diff --git a/aiida/backends/tests/orm/test_mixins.py b/tests/orm/test_mixins.py similarity index 100% rename from aiida/backends/tests/orm/test_mixins.py rename to tests/orm/test_mixins.py diff --git a/aiida/backends/tests/orm/test_querybuilder.py b/tests/orm/test_querybuilder.py similarity index 100% rename from aiida/backends/tests/orm/test_querybuilder.py rename to tests/orm/test_querybuilder.py diff --git a/aiida/backends/tests/orm/utils/__init__.py b/tests/orm/utils/__init__.py similarity index 100% rename from aiida/backends/tests/orm/utils/__init__.py rename to tests/orm/utils/__init__.py diff --git a/aiida/backends/tests/orm/utils/test_calcjob.py b/tests/orm/utils/test_calcjob.py similarity index 100% rename from aiida/backends/tests/orm/utils/test_calcjob.py rename to tests/orm/utils/test_calcjob.py diff --git a/aiida/backends/tests/orm/utils/test_loaders.py b/tests/orm/utils/test_loaders.py similarity index 100% rename from aiida/backends/tests/orm/utils/test_loaders.py rename to tests/orm/utils/test_loaders.py diff --git a/aiida/backends/tests/orm/utils/test_node.py b/tests/orm/utils/test_node.py similarity index 100% rename from aiida/backends/tests/orm/utils/test_node.py rename to tests/orm/utils/test_node.py diff --git a/aiida/backends/tests/orm/utils/test_repository.py b/tests/orm/utils/test_repository.py similarity index 100% rename from aiida/backends/tests/orm/utils/test_repository.py rename to tests/orm/utils/test_repository.py diff --git a/aiida/backends/tests/parsers/__init__.py b/tests/parsers/__init__.py similarity index 100% rename from aiida/backends/tests/parsers/__init__.py rename to tests/parsers/__init__.py diff --git a/aiida/backends/tests/parsers/test_parser.py b/tests/parsers/test_parser.py similarity index 100% rename from aiida/backends/tests/parsers/test_parser.py rename to tests/parsers/test_parser.py diff --git a/aiida/backends/tests/plugins/__init__.py b/tests/plugins/__init__.py similarity index 100% rename from aiida/backends/tests/plugins/__init__.py rename to tests/plugins/__init__.py diff --git a/aiida/backends/tests/plugins/test_entry_point.py b/tests/plugins/test_entry_point.py similarity index 100% rename from aiida/backends/tests/plugins/test_entry_point.py rename to tests/plugins/test_entry_point.py diff --git a/aiida/backends/tests/plugins/test_factories.py b/tests/plugins/test_factories.py similarity index 100% rename from aiida/backends/tests/plugins/test_factories.py rename to tests/plugins/test_factories.py diff --git a/aiida/backends/tests/plugins/test_utils.py b/tests/plugins/test_utils.py similarity index 100% rename from aiida/backends/tests/plugins/test_utils.py rename to tests/plugins/test_utils.py diff --git a/aiida/backends/tests/restapi/__init__.py b/tests/restapi/__init__.py similarity index 100% rename from aiida/backends/tests/restapi/__init__.py rename to tests/restapi/__init__.py diff --git a/aiida/backends/tests/restapi/test_identifiers.py b/tests/restapi/test_identifiers.py similarity index 100% rename from aiida/backends/tests/restapi/test_identifiers.py rename to tests/restapi/test_identifiers.py diff --git a/aiida/schedulers/test_datastructures.py b/tests/schedulers/test_datastructures.py similarity index 100% rename from aiida/schedulers/test_datastructures.py rename to tests/schedulers/test_datastructures.py diff --git a/aiida/schedulers/plugins/test_direct.py b/tests/schedulers/test_direct.py similarity index 100% rename from aiida/schedulers/plugins/test_direct.py rename to tests/schedulers/test_direct.py diff --git a/aiida/schedulers/plugins/test_lsf.py b/tests/schedulers/test_lsf.py similarity index 100% rename from aiida/schedulers/plugins/test_lsf.py rename to tests/schedulers/test_lsf.py diff --git a/aiida/schedulers/plugins/test_pbspro.py b/tests/schedulers/test_pbspro.py similarity index 100% rename from aiida/schedulers/plugins/test_pbspro.py rename to tests/schedulers/test_pbspro.py diff --git a/aiida/schedulers/plugins/test_sge.py b/tests/schedulers/test_sge.py similarity index 100% rename from aiida/schedulers/plugins/test_sge.py rename to tests/schedulers/test_sge.py diff --git a/aiida/schedulers/plugins/test_slurm.py b/tests/schedulers/test_slurm.py similarity index 100% rename from aiida/schedulers/plugins/test_slurm.py rename to tests/schedulers/test_slurm.py diff --git a/aiida/schedulers/plugins/test_torque.py b/tests/schedulers/test_torque.py similarity index 100% rename from aiida/schedulers/plugins/test_torque.py rename to tests/schedulers/test_torque.py diff --git a/aiida/sphinxext/tests/Makefile b/tests/sphinxext/Makefile similarity index 100% rename from aiida/sphinxext/tests/Makefile rename to tests/sphinxext/Makefile diff --git a/aiida/sphinxext/tests/broken_demo_workchain.py b/tests/sphinxext/broken_demo_workchain.py similarity index 100% rename from aiida/sphinxext/tests/broken_demo_workchain.py rename to tests/sphinxext/broken_demo_workchain.py diff --git a/aiida/sphinxext/tests/conftest.py b/tests/sphinxext/conftest.py similarity index 100% rename from aiida/sphinxext/tests/conftest.py rename to tests/sphinxext/conftest.py diff --git a/aiida/sphinxext/tests/demo_workchain.py b/tests/sphinxext/demo_workchain.py similarity index 100% rename from aiida/sphinxext/tests/demo_workchain.py rename to tests/sphinxext/demo_workchain.py diff --git a/aiida/sphinxext/tests/reference_results/workchain.xml b/tests/sphinxext/reference_results/workchain.xml similarity index 100% rename from aiida/sphinxext/tests/reference_results/workchain.xml rename to tests/sphinxext/reference_results/workchain.xml diff --git a/aiida/sphinxext/tests/test_workchain.py b/tests/sphinxext/test_workchain.py similarity index 100% rename from aiida/sphinxext/tests/test_workchain.py rename to tests/sphinxext/test_workchain.py diff --git a/aiida/sphinxext/tests/workchain_source/_static/placeholder b/tests/sphinxext/workchain_source/_static/placeholder similarity index 100% rename from aiida/sphinxext/tests/workchain_source/_static/placeholder rename to tests/sphinxext/workchain_source/_static/placeholder diff --git a/aiida/sphinxext/tests/workchain_source/conf.py b/tests/sphinxext/workchain_source/conf.py similarity index 100% rename from aiida/sphinxext/tests/workchain_source/conf.py rename to tests/sphinxext/workchain_source/conf.py diff --git a/aiida/sphinxext/tests/workchain_source/index.rst b/tests/sphinxext/workchain_source/index.rst similarity index 100% rename from aiida/sphinxext/tests/workchain_source/index.rst rename to tests/sphinxext/workchain_source/index.rst diff --git a/aiida/sphinxext/tests/workchain_source_broken/_static/placeholder b/tests/sphinxext/workchain_source_broken/_static/placeholder similarity index 100% rename from aiida/sphinxext/tests/workchain_source_broken/_static/placeholder rename to tests/sphinxext/workchain_source_broken/_static/placeholder diff --git a/aiida/sphinxext/tests/workchain_source_broken/conf.py b/tests/sphinxext/workchain_source_broken/conf.py similarity index 100% rename from aiida/sphinxext/tests/workchain_source_broken/conf.py rename to tests/sphinxext/workchain_source_broken/conf.py diff --git a/aiida/sphinxext/tests/workchain_source_broken/index.rst b/tests/sphinxext/workchain_source_broken/index.rst similarity index 100% rename from aiida/sphinxext/tests/workchain_source_broken/index.rst rename to tests/sphinxext/workchain_source_broken/index.rst diff --git a/aiida/backends/tests/test_base_dataclasses.py b/tests/test_base_dataclasses.py similarity index 100% rename from aiida/backends/tests/test_base_dataclasses.py rename to tests/test_base_dataclasses.py diff --git a/aiida/backends/tests/test_calculation_node.py b/tests/test_calculation_node.py similarity index 100% rename from aiida/backends/tests/test_calculation_node.py rename to tests/test_calculation_node.py diff --git a/aiida/backends/tests/test_dataclasses.py b/tests/test_dataclasses.py similarity index 100% rename from aiida/backends/tests/test_dataclasses.py rename to tests/test_dataclasses.py diff --git a/aiida/backends/tests/test_dbimporters.py b/tests/test_dbimporters.py similarity index 100% rename from aiida/backends/tests/test_dbimporters.py rename to tests/test_dbimporters.py diff --git a/aiida/backends/tests/test_generic.py b/tests/test_generic.py similarity index 100% rename from aiida/backends/tests/test_generic.py rename to tests/test_generic.py diff --git a/aiida/backends/tests/test_nodes.py b/tests/test_nodes.py similarity index 100% rename from aiida/backends/tests/test_nodes.py rename to tests/test_nodes.py diff --git a/aiida/backends/tests/test_restapi.py b/tests/test_restapi.py similarity index 100% rename from aiida/backends/tests/test_restapi.py rename to tests/test_restapi.py diff --git a/aiida/backends/tests/tools/__init__.py b/tests/tools/__init__.py similarity index 100% rename from aiida/backends/tests/tools/__init__.py rename to tests/tools/__init__.py diff --git a/aiida/backends/tests/tools/data/__init__.py b/tests/tools/data/__init__.py similarity index 100% rename from aiida/backends/tests/tools/data/__init__.py rename to tests/tools/data/__init__.py diff --git a/aiida/backends/tests/tools/data/orbital/__init__.py b/tests/tools/data/orbital/__init__.py similarity index 100% rename from aiida/backends/tests/tools/data/orbital/__init__.py rename to tests/tools/data/orbital/__init__.py diff --git a/aiida/backends/tests/tools/data/orbital/test_orbitals.py b/tests/tools/data/orbital/test_orbitals.py similarity index 100% rename from aiida/backends/tests/tools/data/orbital/test_orbitals.py rename to tests/tools/data/orbital/test_orbitals.py diff --git a/aiida/tools/dbimporters/plugins/test_icsd.py b/tests/tools/dbimporters/test_icsd.py similarity index 100% rename from aiida/tools/dbimporters/plugins/test_icsd.py rename to tests/tools/dbimporters/test_icsd.py diff --git a/aiida/tools/dbimporters/plugins/test_materialsproject.py b/tests/tools/dbimporters/test_materialsproject.py similarity index 100% rename from aiida/tools/dbimporters/plugins/test_materialsproject.py rename to tests/tools/dbimporters/test_materialsproject.py diff --git a/aiida/backends/tests/tools/graph/__init__.py b/tests/tools/graph/__init__.py similarity index 100% rename from aiida/backends/tests/tools/graph/__init__.py rename to tests/tools/graph/__init__.py diff --git a/aiida/backends/tests/tools/graph/test_age.py b/tests/tools/graph/test_age.py similarity index 100% rename from aiida/backends/tests/tools/graph/test_age.py rename to tests/tools/graph/test_age.py diff --git a/aiida/backends/tests/tools/graph/test_graph_traversers.py b/tests/tools/graph/test_graph_traversers.py similarity index 100% rename from aiida/backends/tests/tools/graph/test_graph_traversers.py rename to tests/tools/graph/test_graph_traversers.py diff --git a/aiida/backends/tests/tools/importexport/__init__.py b/tests/tools/importexport/__init__.py similarity index 100% rename from aiida/backends/tests/tools/importexport/__init__.py rename to tests/tools/importexport/__init__.py diff --git a/aiida/backends/tests/tools/importexport/common/__init__.py b/tests/tools/importexport/common/__init__.py similarity index 100% rename from aiida/backends/tests/tools/importexport/common/__init__.py rename to tests/tools/importexport/common/__init__.py diff --git a/aiida/backends/tests/tools/importexport/common/test_archive.py b/tests/tools/importexport/common/test_archive.py similarity index 100% rename from aiida/backends/tests/tools/importexport/common/test_archive.py rename to tests/tools/importexport/common/test_archive.py diff --git a/aiida/backends/tests/tools/importexport/migration/__init__.py b/tests/tools/importexport/migration/__init__.py similarity index 100% rename from aiida/backends/tests/tools/importexport/migration/__init__.py rename to tests/tools/importexport/migration/__init__.py diff --git a/aiida/backends/tests/tools/importexport/migration/test_migration.py b/tests/tools/importexport/migration/test_migration.py similarity index 100% rename from aiida/backends/tests/tools/importexport/migration/test_migration.py rename to tests/tools/importexport/migration/test_migration.py diff --git a/aiida/backends/tests/tools/importexport/migration/test_v01_to_v02.py b/tests/tools/importexport/migration/test_v01_to_v02.py similarity index 100% rename from aiida/backends/tests/tools/importexport/migration/test_v01_to_v02.py rename to tests/tools/importexport/migration/test_v01_to_v02.py diff --git a/aiida/backends/tests/tools/importexport/migration/test_v02_to_v03.py b/tests/tools/importexport/migration/test_v02_to_v03.py similarity index 100% rename from aiida/backends/tests/tools/importexport/migration/test_v02_to_v03.py rename to tests/tools/importexport/migration/test_v02_to_v03.py diff --git a/aiida/backends/tests/tools/importexport/migration/test_v03_to_v04.py b/tests/tools/importexport/migration/test_v03_to_v04.py similarity index 100% rename from aiida/backends/tests/tools/importexport/migration/test_v03_to_v04.py rename to tests/tools/importexport/migration/test_v03_to_v04.py diff --git a/aiida/backends/tests/tools/importexport/migration/test_v04_to_v05.py b/tests/tools/importexport/migration/test_v04_to_v05.py similarity index 100% rename from aiida/backends/tests/tools/importexport/migration/test_v04_to_v05.py rename to tests/tools/importexport/migration/test_v04_to_v05.py diff --git a/aiida/backends/tests/tools/importexport/migration/test_v05_to_v06.py b/tests/tools/importexport/migration/test_v05_to_v06.py similarity index 100% rename from aiida/backends/tests/tools/importexport/migration/test_v05_to_v06.py rename to tests/tools/importexport/migration/test_v05_to_v06.py diff --git a/aiida/backends/tests/tools/importexport/migration/test_v06_to_v07.py b/tests/tools/importexport/migration/test_v06_to_v07.py similarity index 100% rename from aiida/backends/tests/tools/importexport/migration/test_v06_to_v07.py rename to tests/tools/importexport/migration/test_v06_to_v07.py diff --git a/aiida/backends/tests/tools/importexport/migration/test_v07_to_v08.py b/tests/tools/importexport/migration/test_v07_to_v08.py similarity index 100% rename from aiida/backends/tests/tools/importexport/migration/test_v07_to_v08.py rename to tests/tools/importexport/migration/test_v07_to_v08.py diff --git a/aiida/backends/tests/tools/importexport/orm/__init__.py b/tests/tools/importexport/orm/__init__.py similarity index 100% rename from aiida/backends/tests/tools/importexport/orm/__init__.py rename to tests/tools/importexport/orm/__init__.py diff --git a/aiida/backends/tests/tools/importexport/orm/test_attributes.py b/tests/tools/importexport/orm/test_attributes.py similarity index 100% rename from aiida/backends/tests/tools/importexport/orm/test_attributes.py rename to tests/tools/importexport/orm/test_attributes.py diff --git a/aiida/backends/tests/tools/importexport/orm/test_calculations.py b/tests/tools/importexport/orm/test_calculations.py similarity index 100% rename from aiida/backends/tests/tools/importexport/orm/test_calculations.py rename to tests/tools/importexport/orm/test_calculations.py diff --git a/aiida/backends/tests/tools/importexport/orm/test_codes.py b/tests/tools/importexport/orm/test_codes.py similarity index 100% rename from aiida/backends/tests/tools/importexport/orm/test_codes.py rename to tests/tools/importexport/orm/test_codes.py diff --git a/aiida/backends/tests/tools/importexport/orm/test_comments.py b/tests/tools/importexport/orm/test_comments.py similarity index 100% rename from aiida/backends/tests/tools/importexport/orm/test_comments.py rename to tests/tools/importexport/orm/test_comments.py diff --git a/aiida/backends/tests/tools/importexport/orm/test_computers.py b/tests/tools/importexport/orm/test_computers.py similarity index 100% rename from aiida/backends/tests/tools/importexport/orm/test_computers.py rename to tests/tools/importexport/orm/test_computers.py diff --git a/aiida/backends/tests/tools/importexport/orm/test_extras.py b/tests/tools/importexport/orm/test_extras.py similarity index 100% rename from aiida/backends/tests/tools/importexport/orm/test_extras.py rename to tests/tools/importexport/orm/test_extras.py diff --git a/aiida/backends/tests/tools/importexport/orm/test_groups.py b/tests/tools/importexport/orm/test_groups.py similarity index 100% rename from aiida/backends/tests/tools/importexport/orm/test_groups.py rename to tests/tools/importexport/orm/test_groups.py diff --git a/aiida/backends/tests/tools/importexport/orm/test_links.py b/tests/tools/importexport/orm/test_links.py similarity index 100% rename from aiida/backends/tests/tools/importexport/orm/test_links.py rename to tests/tools/importexport/orm/test_links.py diff --git a/aiida/backends/tests/tools/importexport/orm/test_logs.py b/tests/tools/importexport/orm/test_logs.py similarity index 100% rename from aiida/backends/tests/tools/importexport/orm/test_logs.py rename to tests/tools/importexport/orm/test_logs.py diff --git a/aiida/backends/tests/tools/importexport/orm/test_users.py b/tests/tools/importexport/orm/test_users.py similarity index 100% rename from aiida/backends/tests/tools/importexport/orm/test_users.py rename to tests/tools/importexport/orm/test_users.py diff --git a/aiida/backends/tests/tools/importexport/test_complex.py b/tests/tools/importexport/test_complex.py similarity index 100% rename from aiida/backends/tests/tools/importexport/test_complex.py rename to tests/tools/importexport/test_complex.py diff --git a/aiida/backends/tests/tools/importexport/test_prov_redesign.py b/tests/tools/importexport/test_prov_redesign.py similarity index 100% rename from aiida/backends/tests/tools/importexport/test_prov_redesign.py rename to tests/tools/importexport/test_prov_redesign.py diff --git a/aiida/backends/tests/tools/importexport/test_simple.py b/tests/tools/importexport/test_simple.py similarity index 100% rename from aiida/backends/tests/tools/importexport/test_simple.py rename to tests/tools/importexport/test_simple.py diff --git a/aiida/backends/tests/tools/importexport/test_specific_import.py b/tests/tools/importexport/test_specific_import.py similarity index 100% rename from aiida/backends/tests/tools/importexport/test_specific_import.py rename to tests/tools/importexport/test_specific_import.py diff --git a/aiida/backends/tests/tools/importexport/utils.py b/tests/tools/importexport/utils.py similarity index 100% rename from aiida/backends/tests/tools/importexport/utils.py rename to tests/tools/importexport/utils.py diff --git a/aiida/backends/tests/tools/visualization/__init__.py b/tests/tools/visualization/__init__.py similarity index 100% rename from aiida/backends/tests/tools/visualization/__init__.py rename to tests/tools/visualization/__init__.py diff --git a/aiida/backends/tests/tools/visualization/test_graph.py b/tests/tools/visualization/test_graph.py similarity index 100% rename from aiida/backends/tests/tools/visualization/test_graph.py rename to tests/tools/visualization/test_graph.py diff --git a/aiida/transports/plugins/test_all_plugins.py b/tests/transports/test_all_plugins.py similarity index 100% rename from aiida/transports/plugins/test_all_plugins.py rename to tests/transports/test_all_plugins.py diff --git a/aiida/transports/plugins/test_local.py b/tests/transports/test_local.py similarity index 100% rename from aiida/transports/plugins/test_local.py rename to tests/transports/test_local.py diff --git a/aiida/transports/plugins/test_ssh.py b/tests/transports/test_ssh.py similarity index 100% rename from aiida/transports/plugins/test_ssh.py rename to tests/transports/test_ssh.py diff --git a/aiida/backends/tests/utils/__init__.py b/tests/utils/__init__.py similarity index 100% rename from aiida/backends/tests/utils/__init__.py rename to tests/utils/__init__.py diff --git a/aiida/backends/tests/utils/archives.py b/tests/utils/archives.py similarity index 100% rename from aiida/backends/tests/utils/archives.py rename to tests/utils/archives.py diff --git a/aiida/backends/tests/utils/configuration.py b/tests/utils/configuration.py similarity index 100% rename from aiida/backends/tests/utils/configuration.py rename to tests/utils/configuration.py diff --git a/aiida/backends/tests/utils/processes.py b/tests/utils/processes.py similarity index 100% rename from aiida/backends/tests/utils/processes.py rename to tests/utils/processes.py