diff --git a/.github/workflows/python_actions.yml b/.github/workflows/python_actions.yml index ef36ddf42..3aa21a4fa 100644 --- a/.github/workflows/python_actions.yml +++ b/.github/workflows/python_actions.yml @@ -23,9 +23,9 @@ jobs: with: dependencies: SpiNNUtils SpiNNMachine - test_directories: unittests spinnman_integration_tests + test_directories: spinnman_tests spinnman_integration_tests coverage-package: spinnman - flake8-packages: spinnman unittests spinnman_integration_tests + flake8-packages: spinnman spinnman_tests spinnman_integration_tests pylint-packages: spinnman - mypy-packages: spinnman + mypy-packages: spinnman spinnman_tests spinnman_integration_tests secrets: inherit diff --git a/unittests/.gitignore b/spinnman_tests/.gitignore similarity index 100% rename from unittests/.gitignore rename to spinnman_tests/.gitignore diff --git a/unittests/connection_tests/__init__.py b/spinnman_tests/__init__.py similarity index 100% rename from unittests/connection_tests/__init__.py rename to spinnman_tests/__init__.py diff --git a/unittests/model_tests/__init__.py b/spinnman_tests/connection_tests/__init__.py similarity index 100% rename from unittests/model_tests/__init__.py rename to spinnman_tests/connection_tests/__init__.py diff --git a/unittests/connection_tests/test_udp_boot_connection.py b/spinnman_tests/connection_tests/test_udp_boot_connection.py similarity index 100% rename from unittests/connection_tests/test_udp_boot_connection.py rename to spinnman_tests/connection_tests/test_udp_boot_connection.py diff --git a/unittests/data/__init__.py b/spinnman_tests/data/__init__.py similarity index 100% rename from unittests/data/__init__.py rename to spinnman_tests/data/__init__.py diff --git a/unittests/data/test_data.py b/spinnman_tests/data/test_data.py similarity index 100% rename from unittests/data/test_data.py rename to spinnman_tests/data/test_data.py diff --git a/unittests/messages/__init__.py b/spinnman_tests/messages/__init__.py similarity index 100% rename from unittests/messages/__init__.py rename to spinnman_tests/messages/__init__.py diff --git a/unittests/messages/test_eieio_type.py b/spinnman_tests/messages/test_eieio_type.py similarity index 100% rename from unittests/messages/test_eieio_type.py rename to spinnman_tests/messages/test_eieio_type.py diff --git a/unittests/scp_tests/__init__.py b/spinnman_tests/model_tests/__init__.py similarity index 100% rename from unittests/scp_tests/__init__.py rename to spinnman_tests/model_tests/__init__.py diff --git a/unittests/model_tests/test_abstract_process.py b/spinnman_tests/model_tests/test_abstract_process.py similarity index 100% rename from unittests/model_tests/test_abstract_process.py rename to spinnman_tests/model_tests/test_abstract_process.py diff --git a/unittests/model_tests/test_core_subset_model.py b/spinnman_tests/model_tests/test_core_subset_model.py similarity index 100% rename from unittests/model_tests/test_core_subset_model.py rename to spinnman_tests/model_tests/test_core_subset_model.py diff --git a/unittests/model_tests/test_core_subsets_model.py b/spinnman_tests/model_tests/test_core_subsets_model.py similarity index 100% rename from unittests/model_tests/test_core_subsets_model.py rename to spinnman_tests/model_tests/test_core_subsets_model.py diff --git a/unittests/model_tests/test_cpu_infos.py b/spinnman_tests/model_tests/test_cpu_infos.py similarity index 100% rename from unittests/model_tests/test_cpu_infos.py rename to spinnman_tests/model_tests/test_cpu_infos.py diff --git a/unittests/model_tests/test_io_buff_model.py b/spinnman_tests/model_tests/test_io_buff_model.py similarity index 100% rename from unittests/model_tests/test_io_buff_model.py rename to spinnman_tests/model_tests/test_io_buff_model.py diff --git a/unittests/model_tests/test_iptag_model.py b/spinnman_tests/model_tests/test_iptag_model.py similarity index 100% rename from unittests/model_tests/test_iptag_model.py rename to spinnman_tests/model_tests/test_iptag_model.py diff --git a/unittests/model_tests/test_machine_dimensions_model.py b/spinnman_tests/model_tests/test_machine_dimensions_model.py similarity index 100% rename from unittests/model_tests/test_machine_dimensions_model.py rename to spinnman_tests/model_tests/test_machine_dimensions_model.py diff --git a/unittests/model_tests/test_retrieving_values_from_enum_models.py b/spinnman_tests/model_tests/test_retrieving_values_from_enum_models.py similarity index 100% rename from unittests/model_tests/test_retrieving_values_from_enum_models.py rename to spinnman_tests/model_tests/test_retrieving_values_from_enum_models.py diff --git a/unittests/model_tests/test_version_info_model.py b/spinnman_tests/model_tests/test_version_info_model.py similarity index 100% rename from unittests/model_tests/test_version_info_model.py rename to spinnman_tests/model_tests/test_version_info_model.py diff --git a/spinnman_tests/processes_test/__init__.py b/spinnman_tests/processes_test/__init__.py new file mode 100644 index 000000000..91eaa0c57 --- /dev/null +++ b/spinnman_tests/processes_test/__init__.py @@ -0,0 +1,13 @@ +# Copyright (c) 2023 The University of Manchester +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. diff --git a/unittests/processes_test/test_most_direct_connections_selector.py b/spinnman_tests/processes_test/test_most_direct_connections_selector.py similarity index 100% rename from unittests/processes_test/test_most_direct_connections_selector.py rename to spinnman_tests/processes_test/test_most_direct_connections_selector.py diff --git a/unittests/sdp_tests/__init__.py b/spinnman_tests/scp_tests/__init__.py similarity index 100% rename from unittests/sdp_tests/__init__.py rename to spinnman_tests/scp_tests/__init__.py diff --git a/unittests/scp_tests/test_count_state_response.py b/spinnman_tests/scp_tests/test_count_state_response.py similarity index 100% rename from unittests/scp_tests/test_count_state_response.py rename to spinnman_tests/scp_tests/test_count_state_response.py diff --git a/unittests/scp_tests/test_scp_check_ok_response.py b/spinnman_tests/scp_tests/test_scp_check_ok_response.py similarity index 100% rename from unittests/scp_tests/test_scp_check_ok_response.py rename to spinnman_tests/scp_tests/test_scp_check_ok_response.py diff --git a/unittests/scp_tests/test_scp_enums.py b/spinnman_tests/scp_tests/test_scp_enums.py similarity index 100% rename from unittests/scp_tests/test_scp_enums.py rename to spinnman_tests/scp_tests/test_scp_enums.py diff --git a/unittests/scp_tests/test_scp_message_assembly.py b/spinnman_tests/scp_tests/test_scp_message_assembly.py similarity index 100% rename from unittests/scp_tests/test_scp_message_assembly.py rename to spinnman_tests/scp_tests/test_scp_message_assembly.py diff --git a/unittests/scp_tests/test_scp_version_request.py b/spinnman_tests/scp_tests/test_scp_version_request.py similarity index 100% rename from unittests/scp_tests/test_scp_version_request.py rename to spinnman_tests/scp_tests/test_scp_version_request.py diff --git a/unittests/scp_tests/test_scp_version_response.py b/spinnman_tests/scp_tests/test_scp_version_response.py similarity index 100% rename from unittests/scp_tests/test_scp_version_response.py rename to spinnman_tests/scp_tests/test_scp_version_response.py diff --git a/unittests/threads_tests/__init__.py b/spinnman_tests/sdp_tests/__init__.py similarity index 100% rename from unittests/threads_tests/__init__.py rename to spinnman_tests/sdp_tests/__init__.py diff --git a/unittests/sdp_tests/test_eieio_enums.py b/spinnman_tests/sdp_tests/test_eieio_enums.py similarity index 100% rename from unittests/sdp_tests/test_eieio_enums.py rename to spinnman_tests/sdp_tests/test_eieio_enums.py diff --git a/unittests/sdp_tests/test_sdp_enums.py b/spinnman_tests/sdp_tests/test_sdp_enums.py similarity index 100% rename from unittests/sdp_tests/test_sdp_enums.py rename to spinnman_tests/sdp_tests/test_sdp_enums.py diff --git a/unittests/test_boot_message_assembly.py b/spinnman_tests/test_boot_message_assembly.py similarity index 100% rename from unittests/test_boot_message_assembly.py rename to spinnman_tests/test_boot_message_assembly.py diff --git a/unittests/test_cfg_checker.py b/spinnman_tests/test_cfg_checker.py similarity index 100% rename from unittests/test_cfg_checker.py rename to spinnman_tests/test_cfg_checker.py diff --git a/unittests/test_import_all_test.py b/spinnman_tests/test_import_all_test.py similarity index 100% rename from unittests/test_import_all_test.py rename to spinnman_tests/test_import_all_test.py diff --git a/unittests/test_multicast_message_assembly.py b/spinnman_tests/test_multicast_message_assembly.py similarity index 100% rename from unittests/test_multicast_message_assembly.py rename to spinnman_tests/test_multicast_message_assembly.py diff --git a/unittests/test_transceiver.py b/spinnman_tests/test_transceiver.py similarity index 100% rename from unittests/test_transceiver.py rename to spinnman_tests/test_transceiver.py diff --git a/unittests/test_version.py b/spinnman_tests/test_version.py similarity index 100% rename from unittests/test_version.py rename to spinnman_tests/test_version.py diff --git a/unittests/__init__.py b/spinnman_tests/threads_tests/__init__.py similarity index 96% rename from unittests/__init__.py rename to spinnman_tests/threads_tests/__init__.py index 1d5b5492f..05bfa339d 100644 --- a/unittests/__init__.py +++ b/spinnman_tests/threads_tests/__init__.py @@ -11,5 +11,3 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. - -__author__ = 'Petrut'