Browse Source

feat: remove redundant core folder in tests folder

Joao Andre 1 năm trước cách đây
mục cha
commit
07099bbee5
100 tập tin đã thay đổi với 11 bổ sung22 xóa
  1. 1 0
      Pipfile
  2. 0 2
      tests/core/__init__.py
  3. 0 0
      tests/core/_backup/__init__.py
  4. 0 0
      tests/core/_backup/test_backup.py
  5. 0 0
      tests/core/_entity/__init__.py
  6. 0 0
      tests/core/_entity/data_sample/cycles/CYCLE_January_2021_4463f2a8-d551-4d36-aaa1-2bbbb033fd3b.json
  7. 0 0
      tests/core/_entity/data_sample/data_nodes/DATANODE_cleaned_dataset_0e715489-98ee-4a06-9b38-21409ed04d03.json
  8. 0 0
      tests/core/_entity/data_sample/data_nodes/DATANODE_day_09c01a64-a998-4ba6-ac24-43e02db535a3.json
  9. 0 0
      tests/core/_entity/data_sample/data_nodes/DATANODE_evaluation_7173c0d1-2b84-486f-af76-82788f957c3b.json
  10. 0 0
      tests/core/_entity/data_sample/data_nodes/DATANODE_initial_dataset_7d571742-92a5-457f-aef2-5d2eff3a3e99.json
  11. 0 0
      tests/core/_entity/data_sample/data_nodes/DATANODE_predictions_04a03760-c963-46cc-bd24-d798f5821cef.json
  12. 0 0
      tests/core/_entity/data_sample/jobs/JOB_clean_data_969c7c6d-93ec-4044-bda5-20f8e3abbb17.json
  13. 0 0
      tests/core/_entity/data_sample/jobs/JOB_evaluate_75a2e8a3-2920-48a7-9d70-942d3cb9c71b.json
  14. 0 0
      tests/core/_entity/data_sample/jobs/JOB_predict_e2298b78-c093-415c-ba7e-1c3f22463546.json
  15. 0 0
      tests/core/_entity/data_sample/pipelines/PIPELINE_baseline_08c57938-83e8-4848-aca5-c98a4ca21e58.json
  16. 0 0
      tests/core/_entity/data_sample/scenarios/SCENARIO_scenario_62d29866-610e-4173-bd22-6a0555e80ff4.json
  17. 0 0
      tests/core/_entity/data_sample/tasks/TASK_clean_data_2b17fa43-6746-45d6-b22d-0f5b09b9048a.json
  18. 0 0
      tests/core/_entity/data_sample/tasks/TASK_evaluate_57cbea3b-332e-47ac-a468-472e4885eb82.json
  19. 0 0
      tests/core/_entity/data_sample/tasks/TASK_predict_cf8b3c83-5ea7-40eb-b8af-d5240852ff5b.json
  20. 0 0
      tests/core/_entity/data_sample/version.json
  21. 0 0
      tests/core/_entity/data_sample/version/b11ea9f9-b2d7-4b58-a1c2-c6b1700bed97.json
  22. 0 0
      tests/core/_entity/data_sample_migrated/cycles/CYCLE_January_2021_4463f2a8-d551-4d36-aaa1-2bbbb033fd3b.json
  23. 0 0
      tests/core/_entity/data_sample_migrated/data_nodes/DATANODE_cleaned_dataset_0e715489-98ee-4a06-9b38-21409ed04d03.json
  24. 0 0
      tests/core/_entity/data_sample_migrated/data_nodes/DATANODE_day_09c01a64-a998-4ba6-ac24-43e02db535a3.json
  25. 0 0
      tests/core/_entity/data_sample_migrated/data_nodes/DATANODE_evaluation_7173c0d1-2b84-486f-af76-82788f957c3b.json
  26. 0 0
      tests/core/_entity/data_sample_migrated/data_nodes/DATANODE_initial_dataset_7d571742-92a5-457f-aef2-5d2eff3a3e99.json
  27. 0 0
      tests/core/_entity/data_sample_migrated/data_nodes/DATANODE_predictions_04a03760-c963-46cc-bd24-d798f5821cef.json
  28. 0 0
      tests/core/_entity/data_sample_migrated/jobs/JOB_clean_data_969c7c6d-93ec-4044-bda5-20f8e3abbb17.json
  29. 0 0
      tests/core/_entity/data_sample_migrated/jobs/JOB_evaluate_75a2e8a3-2920-48a7-9d70-942d3cb9c71b.json
  30. 0 0
      tests/core/_entity/data_sample_migrated/jobs/JOB_predict_e2298b78-c093-415c-ba7e-1c3f22463546.json
  31. 0 0
      tests/core/_entity/data_sample_migrated/scenarios/SCENARIO_scenario_62d29866-610e-4173-bd22-6a0555e80ff4.json
  32. 0 0
      tests/core/_entity/data_sample_migrated/tasks/TASK_clean_data_2b17fa43-6746-45d6-b22d-0f5b09b9048a.json
  33. 0 0
      tests/core/_entity/data_sample_migrated/tasks/TASK_evaluate_57cbea3b-332e-47ac-a468-472e4885eb82.json
  34. 0 0
      tests/core/_entity/data_sample_migrated/tasks/TASK_predict_cf8b3c83-5ea7-40eb-b8af-d5240852ff5b.json
  35. 0 0
      tests/core/_entity/data_sample_migrated/version.json
  36. 0 0
      tests/core/_entity/data_sample_migrated/version/b11ea9f9-b2d7-4b58-a1c2-c6b1700bed97.json
  37. 0 0
      tests/core/_entity/test_dag.py
  38. 0 0
      tests/core/_entity/test_entity_ids.py
  39. 0 0
      tests/core/_entity/test_labelled.py
  40. 0 0
      tests/core/_entity/test_migrate_cli.py
  41. 0 0
      tests/core/_manager/__init__.py
  42. 0 0
      tests/core/_manager/test_manager.py
  43. 0 0
      tests/core/_orchestrator/__init__.py
  44. 0 0
      tests/core/_orchestrator/_dispatcher/__init__.py
  45. 1 1
      tests/core/_orchestrator/_dispatcher/test_job_dispatcher.py
  46. 1 1
      tests/core/_orchestrator/test_orchestrator.py
  47. 0 0
      tests/core/_orchestrator/test_orchestrator_factory.py
  48. 0 0
      tests/core/common/__init__.py
  49. 0 0
      tests/core/common/logger.conf
  50. 0 0
      tests/core/common/test_retry.py
  51. 0 0
      tests/core/common/test_warn_if_inputs_not_ready.py
  52. 0 0
      tests/core/config/__init__.py
  53. 0 0
      tests/core/config/checkers/__init__.py
  54. 0 0
      tests/core/config/checkers/test_config_id_checker.py
  55. 0 0
      tests/core/config/checkers/test_core_section_checker.py
  56. 0 0
      tests/core/config/checkers/test_data_node_config_checker.py
  57. 0 0
      tests/core/config/checkers/test_job_config_checker.py
  58. 0 0
      tests/core/config/checkers/test_migration_config_checker.py
  59. 0 0
      tests/core/config/checkers/test_scenario_config_checker.py
  60. 0 0
      tests/core/config/checkers/test_task_config_checker.py
  61. 0 0
      tests/core/config/test_config.py
  62. 1 1
      tests/core/config/test_config_serialization.py
  63. 0 0
      tests/core/config/test_configure_default_config.py
  64. 1 1
      tests/core/config/test_core_section.py
  65. 1 1
      tests/core/config/test_core_version.py
  66. 0 0
      tests/core/config/test_data_node_config.py
  67. 0 0
      tests/core/config/test_default_config.py
  68. 1 1
      tests/core/config/test_file_config.py
  69. 0 0
      tests/core/config/test_job_config.py
  70. 0 0
      tests/core/config/test_migration_config.py
  71. 1 1
      tests/core/config/test_override_config.py
  72. 1 1
      tests/core/config/test_scenario_config.py
  73. 1 1
      tests/core/config/test_task_config.py
  74. 0 10
      tests/core/core/version/__init__.py
  75. 0 0
      tests/core/cycle/__init__.py
  76. 0 0
      tests/core/cycle/test_cycle.py
  77. 0 0
      tests/core/cycle/test_cycle_manager.py
  78. 0 0
      tests/core/cycle/test_cycle_manager_with_sql_repo.py
  79. 0 0
      tests/core/cycle/test_cycle_repositories.py
  80. 0 0
      tests/core/data/__init__.py
  81. 0 0
      tests/core/data/data_sample/config.toml
  82. 0 0
      tests/core/data/data_sample/data_source_template.json
  83. 0 0
      tests/core/data/data_sample/empty.xlsx
  84. 0 0
      tests/core/data/data_sample/example.csv
  85. 0 0
      tests/core/data/data_sample/example.p
  86. 0 0
      tests/core/data/data_sample/example.parquet
  87. 0 0
      tests/core/data/data_sample/example.xlsx
  88. 0 0
      tests/core/data/data_sample/example_2.xlsx
  89. 0 0
      tests/core/data/data_sample/example_3.xlsx
  90. 0 0
      tests/core/data/data_sample/example_4.xlsx
  91. 0 0
      tests/core/data/data_sample/invalid.json.txt
  92. 0 0
      tests/core/data/data_sample/json/example_dict.json
  93. 0 0
      tests/core/data/data_sample/json/example_int.json
  94. 0 0
      tests/core/data/data_sample/json/example_list.json
  95. 0 0
      tests/core/data/data_sample/json/example_null.json
  96. 0 0
      tests/core/data/data_sample/parquet_example/data.parquet
  97. 0 0
      tests/core/data/test_csv_data_node.py
  98. 1 1
      tests/core/data/test_data_manager.py
  99. 0 0
      tests/core/data/test_data_manager_with_sql_repo.py
  100. 0 0
      tests/core/data/test_data_node.py

+ 1 - 0
Pipfile

@@ -22,6 +22,7 @@ pytest = "*"
 tox = "*"
 types-python-dateutil = "*"
 mongomock = "*"
+pytest-mock = "*"
 
 [requires]
 python_version = "3"

+ 0 - 2
tests/core/__init__.py

@@ -8,5 +8,3 @@
 # 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.
-
-"""Unit test package for taipy."""

+ 0 - 0
tests/core/core/__init__.py → tests/core/_backup/__init__.py


+ 0 - 0
tests/core/core/_backup/test_backup.py → tests/core/_backup/test_backup.py


+ 0 - 0
tests/core/core/_backup/__init__.py → tests/core/_entity/__init__.py


+ 0 - 0
tests/core/core/_entity/data_sample/cycles/CYCLE_January_2021_4463f2a8-d551-4d36-aaa1-2bbbb033fd3b.json → tests/core/_entity/data_sample/cycles/CYCLE_January_2021_4463f2a8-d551-4d36-aaa1-2bbbb033fd3b.json


+ 0 - 0
tests/core/core/_entity/data_sample/data_nodes/DATANODE_cleaned_dataset_0e715489-98ee-4a06-9b38-21409ed04d03.json → tests/core/_entity/data_sample/data_nodes/DATANODE_cleaned_dataset_0e715489-98ee-4a06-9b38-21409ed04d03.json


+ 0 - 0
tests/core/core/_entity/data_sample/data_nodes/DATANODE_day_09c01a64-a998-4ba6-ac24-43e02db535a3.json → tests/core/_entity/data_sample/data_nodes/DATANODE_day_09c01a64-a998-4ba6-ac24-43e02db535a3.json


+ 0 - 0
tests/core/core/_entity/data_sample/data_nodes/DATANODE_evaluation_7173c0d1-2b84-486f-af76-82788f957c3b.json → tests/core/_entity/data_sample/data_nodes/DATANODE_evaluation_7173c0d1-2b84-486f-af76-82788f957c3b.json


+ 0 - 0
tests/core/core/_entity/data_sample/data_nodes/DATANODE_initial_dataset_7d571742-92a5-457f-aef2-5d2eff3a3e99.json → tests/core/_entity/data_sample/data_nodes/DATANODE_initial_dataset_7d571742-92a5-457f-aef2-5d2eff3a3e99.json


+ 0 - 0
tests/core/core/_entity/data_sample/data_nodes/DATANODE_predictions_04a03760-c963-46cc-bd24-d798f5821cef.json → tests/core/_entity/data_sample/data_nodes/DATANODE_predictions_04a03760-c963-46cc-bd24-d798f5821cef.json


+ 0 - 0
tests/core/core/_entity/data_sample/jobs/JOB_clean_data_969c7c6d-93ec-4044-bda5-20f8e3abbb17.json → tests/core/_entity/data_sample/jobs/JOB_clean_data_969c7c6d-93ec-4044-bda5-20f8e3abbb17.json


+ 0 - 0
tests/core/core/_entity/data_sample/jobs/JOB_evaluate_75a2e8a3-2920-48a7-9d70-942d3cb9c71b.json → tests/core/_entity/data_sample/jobs/JOB_evaluate_75a2e8a3-2920-48a7-9d70-942d3cb9c71b.json


+ 0 - 0
tests/core/core/_entity/data_sample/jobs/JOB_predict_e2298b78-c093-415c-ba7e-1c3f22463546.json → tests/core/_entity/data_sample/jobs/JOB_predict_e2298b78-c093-415c-ba7e-1c3f22463546.json


+ 0 - 0
tests/core/core/_entity/data_sample/pipelines/PIPELINE_baseline_08c57938-83e8-4848-aca5-c98a4ca21e58.json → tests/core/_entity/data_sample/pipelines/PIPELINE_baseline_08c57938-83e8-4848-aca5-c98a4ca21e58.json


+ 0 - 0
tests/core/core/_entity/data_sample/scenarios/SCENARIO_scenario_62d29866-610e-4173-bd22-6a0555e80ff4.json → tests/core/_entity/data_sample/scenarios/SCENARIO_scenario_62d29866-610e-4173-bd22-6a0555e80ff4.json


+ 0 - 0
tests/core/core/_entity/data_sample/tasks/TASK_clean_data_2b17fa43-6746-45d6-b22d-0f5b09b9048a.json → tests/core/_entity/data_sample/tasks/TASK_clean_data_2b17fa43-6746-45d6-b22d-0f5b09b9048a.json


+ 0 - 0
tests/core/core/_entity/data_sample/tasks/TASK_evaluate_57cbea3b-332e-47ac-a468-472e4885eb82.json → tests/core/_entity/data_sample/tasks/TASK_evaluate_57cbea3b-332e-47ac-a468-472e4885eb82.json


+ 0 - 0
tests/core/core/_entity/data_sample/tasks/TASK_predict_cf8b3c83-5ea7-40eb-b8af-d5240852ff5b.json → tests/core/_entity/data_sample/tasks/TASK_predict_cf8b3c83-5ea7-40eb-b8af-d5240852ff5b.json


+ 0 - 0
tests/core/core/_entity/data_sample/version.json → tests/core/_entity/data_sample/version.json


+ 0 - 0
tests/core/core/_entity/data_sample/version/b11ea9f9-b2d7-4b58-a1c2-c6b1700bed97.json → tests/core/_entity/data_sample/version/b11ea9f9-b2d7-4b58-a1c2-c6b1700bed97.json


+ 0 - 0
tests/core/core/_entity/data_sample_migrated/cycles/CYCLE_January_2021_4463f2a8-d551-4d36-aaa1-2bbbb033fd3b.json → tests/core/_entity/data_sample_migrated/cycles/CYCLE_January_2021_4463f2a8-d551-4d36-aaa1-2bbbb033fd3b.json


+ 0 - 0
tests/core/core/_entity/data_sample_migrated/data_nodes/DATANODE_cleaned_dataset_0e715489-98ee-4a06-9b38-21409ed04d03.json → tests/core/_entity/data_sample_migrated/data_nodes/DATANODE_cleaned_dataset_0e715489-98ee-4a06-9b38-21409ed04d03.json


+ 0 - 0
tests/core/core/_entity/data_sample_migrated/data_nodes/DATANODE_day_09c01a64-a998-4ba6-ac24-43e02db535a3.json → tests/core/_entity/data_sample_migrated/data_nodes/DATANODE_day_09c01a64-a998-4ba6-ac24-43e02db535a3.json


+ 0 - 0
tests/core/core/_entity/data_sample_migrated/data_nodes/DATANODE_evaluation_7173c0d1-2b84-486f-af76-82788f957c3b.json → tests/core/_entity/data_sample_migrated/data_nodes/DATANODE_evaluation_7173c0d1-2b84-486f-af76-82788f957c3b.json


+ 0 - 0
tests/core/core/_entity/data_sample_migrated/data_nodes/DATANODE_initial_dataset_7d571742-92a5-457f-aef2-5d2eff3a3e99.json → tests/core/_entity/data_sample_migrated/data_nodes/DATANODE_initial_dataset_7d571742-92a5-457f-aef2-5d2eff3a3e99.json


+ 0 - 0
tests/core/core/_entity/data_sample_migrated/data_nodes/DATANODE_predictions_04a03760-c963-46cc-bd24-d798f5821cef.json → tests/core/_entity/data_sample_migrated/data_nodes/DATANODE_predictions_04a03760-c963-46cc-bd24-d798f5821cef.json


+ 0 - 0
tests/core/core/_entity/data_sample_migrated/jobs/JOB_clean_data_969c7c6d-93ec-4044-bda5-20f8e3abbb17.json → tests/core/_entity/data_sample_migrated/jobs/JOB_clean_data_969c7c6d-93ec-4044-bda5-20f8e3abbb17.json


+ 0 - 0
tests/core/core/_entity/data_sample_migrated/jobs/JOB_evaluate_75a2e8a3-2920-48a7-9d70-942d3cb9c71b.json → tests/core/_entity/data_sample_migrated/jobs/JOB_evaluate_75a2e8a3-2920-48a7-9d70-942d3cb9c71b.json


+ 0 - 0
tests/core/core/_entity/data_sample_migrated/jobs/JOB_predict_e2298b78-c093-415c-ba7e-1c3f22463546.json → tests/core/_entity/data_sample_migrated/jobs/JOB_predict_e2298b78-c093-415c-ba7e-1c3f22463546.json


+ 0 - 0
tests/core/core/_entity/data_sample_migrated/scenarios/SCENARIO_scenario_62d29866-610e-4173-bd22-6a0555e80ff4.json → tests/core/_entity/data_sample_migrated/scenarios/SCENARIO_scenario_62d29866-610e-4173-bd22-6a0555e80ff4.json


+ 0 - 0
tests/core/core/_entity/data_sample_migrated/tasks/TASK_clean_data_2b17fa43-6746-45d6-b22d-0f5b09b9048a.json → tests/core/_entity/data_sample_migrated/tasks/TASK_clean_data_2b17fa43-6746-45d6-b22d-0f5b09b9048a.json


+ 0 - 0
tests/core/core/_entity/data_sample_migrated/tasks/TASK_evaluate_57cbea3b-332e-47ac-a468-472e4885eb82.json → tests/core/_entity/data_sample_migrated/tasks/TASK_evaluate_57cbea3b-332e-47ac-a468-472e4885eb82.json


+ 0 - 0
tests/core/core/_entity/data_sample_migrated/tasks/TASK_predict_cf8b3c83-5ea7-40eb-b8af-d5240852ff5b.json → tests/core/_entity/data_sample_migrated/tasks/TASK_predict_cf8b3c83-5ea7-40eb-b8af-d5240852ff5b.json


+ 0 - 0
tests/core/core/_entity/data_sample_migrated/version.json → tests/core/_entity/data_sample_migrated/version.json


+ 0 - 0
tests/core/core/_entity/data_sample_migrated/version/b11ea9f9-b2d7-4b58-a1c2-c6b1700bed97.json → tests/core/_entity/data_sample_migrated/version/b11ea9f9-b2d7-4b58-a1c2-c6b1700bed97.json


+ 0 - 0
tests/core/core/_entity/test_dag.py → tests/core/_entity/test_dag.py


+ 0 - 0
tests/core/core/_entity/test_entity_ids.py → tests/core/_entity/test_entity_ids.py


+ 0 - 0
tests/core/core/_entity/test_labelled.py → tests/core/_entity/test_labelled.py


+ 0 - 0
tests/core/core/_entity/test_migrate_cli.py → tests/core/_entity/test_migrate_cli.py


+ 0 - 0
tests/core/core/_entity/__init__.py → tests/core/_manager/__init__.py


+ 0 - 0
tests/core/core/_manager/test_manager.py → tests/core/_manager/test_manager.py


+ 0 - 0
tests/core/core/_manager/__init__.py → tests/core/_orchestrator/__init__.py


+ 0 - 0
tests/core/core/_orchestrator/__init__.py → tests/core/_orchestrator/_dispatcher/__init__.py


+ 1 - 1
tests/core/core/_orchestrator/_dispatcher/test_job_dispatcher.py → tests/core/_orchestrator/_dispatcher/test_job_dispatcher.py

@@ -27,7 +27,7 @@ from src.taipy.core.job.job import Job
 from src.taipy.core.submission._submission_manager_factory import _SubmissionManagerFactory
 from src.taipy.core.task.task import Task
 from taipy.config.config import Config
-from tests.core.core.utils import assert_true_after_time
+from tests.core.utils import assert_true_after_time
 
 
 def execute(lock):

+ 1 - 1
tests/core/core/_orchestrator/test_orchestrator.py → tests/core/_orchestrator/test_orchestrator.py

@@ -34,7 +34,7 @@ from src.taipy.core.task.task import Task
 from taipy.config import Config
 from taipy.config.common.scope import Scope
 from taipy.config.exceptions.exceptions import ConfigurationUpdateBlocked
-from tests.core.core.utils import assert_true_after_time
+from tests.core.utils import assert_true_after_time
 
 # ################################  USER FUNCTIONS  ##################################
 

+ 0 - 0
tests/core/core/_orchestrator/test_orchestrator_factory.py → tests/core/_orchestrator/test_orchestrator_factory.py


+ 0 - 0
tests/core/core/_orchestrator/_dispatcher/__init__.py → tests/core/common/__init__.py


+ 0 - 0
tests/core/core/common/logger.conf → tests/core/common/logger.conf


+ 0 - 0
tests/core/core/common/test_retry.py → tests/core/common/test_retry.py


+ 0 - 0
tests/core/core/common/test_warn_if_inputs_not_ready.py → tests/core/common/test_warn_if_inputs_not_ready.py


+ 0 - 0
tests/core/core/common/__init__.py → tests/core/config/__init__.py


+ 0 - 0
tests/core/core/config/__init__.py → tests/core/config/checkers/__init__.py


+ 0 - 0
tests/core/core/config/checkers/test_config_id_checker.py → tests/core/config/checkers/test_config_id_checker.py


+ 0 - 0
tests/core/core/config/checkers/test_core_section_checker.py → tests/core/config/checkers/test_core_section_checker.py


+ 0 - 0
tests/core/core/config/checkers/test_data_node_config_checker.py → tests/core/config/checkers/test_data_node_config_checker.py


+ 0 - 0
tests/core/core/config/checkers/test_job_config_checker.py → tests/core/config/checkers/test_job_config_checker.py


+ 0 - 0
tests/core/core/config/checkers/test_migration_config_checker.py → tests/core/config/checkers/test_migration_config_checker.py


+ 0 - 0
tests/core/core/config/checkers/test_scenario_config_checker.py → tests/core/config/checkers/test_scenario_config_checker.py


+ 0 - 0
tests/core/core/config/checkers/test_task_config_checker.py → tests/core/config/checkers/test_task_config_checker.py


+ 0 - 0
tests/core/core/config/test_config.py → tests/core/config/test_config.py


+ 1 - 1
tests/core/core/config/test_config_serialization.py → tests/core/config/test_config_serialization.py

@@ -17,7 +17,7 @@ from taipy.config import Config
 from taipy.config._serializer._json_serializer import _JsonSerializer
 from taipy.config.common.frequency import Frequency
 from taipy.config.common.scope import Scope
-from tests.core.core.utils.named_temporary_file import NamedTemporaryFile
+from tests.core.utils.named_temporary_file import NamedTemporaryFile
 
 
 def multiply(a):

+ 0 - 0
tests/core/core/config/test_configure_default_config.py → tests/core/config/test_configure_default_config.py


+ 1 - 1
tests/core/core/config/test_core_section.py → tests/core/config/test_core_section.py

@@ -14,7 +14,7 @@ from unittest.mock import patch
 from src.taipy.core import Core
 from src.taipy.core._version._version_manager_factory import _VersionManagerFactory
 from taipy.config import Config
-from tests.core.core.utils.named_temporary_file import NamedTemporaryFile
+from tests.core.utils.named_temporary_file import NamedTemporaryFile
 
 
 def test_core_section():

+ 1 - 1
tests/core/core/config/test_core_version.py → tests/core/config/test_core_version.py

@@ -17,7 +17,7 @@ from src.taipy.core._init_version import _read_version
 from src.taipy.core.config.core_section import CoreSection
 from src.taipy.core.exceptions import ConfigCoreVersionMismatched
 from taipy.config.config import Config
-from tests.core.core.utils.named_temporary_file import NamedTemporaryFile
+from tests.core.utils.named_temporary_file import NamedTemporaryFile
 
 _MOCK_CORE_VERSION = "3.1.1"
 

+ 0 - 0
tests/core/core/config/test_data_node_config.py → tests/core/config/test_data_node_config.py


+ 0 - 0
tests/core/core/config/test_default_config.py → tests/core/config/test_default_config.py


+ 1 - 1
tests/core/core/config/test_file_config.py → tests/core/config/test_file_config.py

@@ -18,7 +18,7 @@ from src.taipy.core.config.core_section import CoreSection
 from taipy.config.common.frequency import Frequency
 from taipy.config.common.scope import Scope
 from taipy.config.config import Config
-from tests.core.core.utils.named_temporary_file import NamedTemporaryFile
+from tests.core.utils.named_temporary_file import NamedTemporaryFile
 
 
 def test_write_configuration_file():

+ 0 - 0
tests/core/core/config/test_job_config.py → tests/core/config/test_job_config.py


+ 0 - 0
tests/core/core/config/test_migration_config.py → tests/core/config/test_migration_config.py


+ 1 - 1
tests/core/core/config/test_override_config.py → tests/core/config/test_override_config.py

@@ -16,7 +16,7 @@ import pytest
 
 from taipy.config.config import Config
 from taipy.config.exceptions.exceptions import InconsistentEnvVariableError, MissingEnvVariableError
-from tests.core.core.utils.named_temporary_file import NamedTemporaryFile
+from tests.core.utils.named_temporary_file import NamedTemporaryFile
 
 
 def test_override_default_configuration_with_code_configuration():

+ 1 - 1
tests/core/core/config/test_scenario_config.py → tests/core/config/test_scenario_config.py

@@ -14,7 +14,7 @@ from unittest import mock
 
 from taipy.config.common.frequency import Frequency
 from taipy.config.config import Config
-from tests.core.core.utils.named_temporary_file import NamedTemporaryFile
+from tests.core.utils.named_temporary_file import NamedTemporaryFile
 
 
 def my_func():

+ 1 - 1
tests/core/core/config/test_task_config.py → tests/core/config/test_task_config.py

@@ -15,7 +15,7 @@ from unittest import mock
 from src.taipy.core.config import DataNodeConfig
 from taipy.config.common.scope import Scope
 from taipy.config.config import Config
-from tests.core.core.utils.named_temporary_file import NamedTemporaryFile
+from tests.core.utils.named_temporary_file import NamedTemporaryFile
 
 
 def _configure_task_in_toml():

+ 0 - 10
tests/core/core/version/__init__.py

@@ -1,10 +0,0 @@
-# Copyright 2023 Avaiga Private Limited
-#
-# 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
-#
-#        http://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.

+ 0 - 0
tests/core/core/config/checkers/__init__.py → tests/core/cycle/__init__.py


+ 0 - 0
tests/core/core/cycle/test_cycle.py → tests/core/cycle/test_cycle.py


+ 0 - 0
tests/core/core/cycle/test_cycle_manager.py → tests/core/cycle/test_cycle_manager.py


+ 0 - 0
tests/core/core/cycle/test_cycle_manager_with_sql_repo.py → tests/core/cycle/test_cycle_manager_with_sql_repo.py


+ 0 - 0
tests/core/core/cycle/test_cycle_repositories.py → tests/core/cycle/test_cycle_repositories.py


+ 0 - 0
tests/core/core/cycle/__init__.py → tests/core/data/__init__.py


+ 0 - 0
tests/core/core/data/data_sample/config.toml → tests/core/data/data_sample/config.toml


+ 0 - 0
tests/core/core/data/data_sample/data_source_template.json → tests/core/data/data_sample/data_source_template.json


+ 0 - 0
tests/core/core/data/data_sample/empty.xlsx → tests/core/data/data_sample/empty.xlsx


+ 0 - 0
tests/core/core/data/data_sample/example.csv → tests/core/data/data_sample/example.csv


+ 0 - 0
tests/core/core/data/data_sample/example.p → tests/core/data/data_sample/example.p


+ 0 - 0
tests/core/core/data/data_sample/example.parquet → tests/core/data/data_sample/example.parquet


+ 0 - 0
tests/core/core/data/data_sample/example.xlsx → tests/core/data/data_sample/example.xlsx


+ 0 - 0
tests/core/core/data/data_sample/example_2.xlsx → tests/core/data/data_sample/example_2.xlsx


+ 0 - 0
tests/core/core/data/data_sample/example_3.xlsx → tests/core/data/data_sample/example_3.xlsx


+ 0 - 0
tests/core/core/data/data_sample/example_4.xlsx → tests/core/data/data_sample/example_4.xlsx


+ 0 - 0
tests/core/core/data/data_sample/invalid.json.txt → tests/core/data/data_sample/invalid.json.txt


+ 0 - 0
tests/core/core/data/data_sample/json/example_dict.json → tests/core/data/data_sample/json/example_dict.json


+ 0 - 0
tests/core/core/data/data_sample/json/example_int.json → tests/core/data/data_sample/json/example_int.json


+ 0 - 0
tests/core/core/data/data_sample/json/example_list.json → tests/core/data/data_sample/json/example_list.json


+ 0 - 0
tests/core/core/data/data_sample/json/example_null.json → tests/core/data/data_sample/json/example_null.json


+ 0 - 0
tests/core/core/data/data_sample/parquet_example/data.parquet → tests/core/data/data_sample/parquet_example/data.parquet


+ 0 - 0
tests/core/core/data/test_csv_data_node.py → tests/core/data/test_csv_data_node.py


+ 1 - 1
tests/core/core/data/test_data_manager.py → tests/core/data/test_data_manager.py

@@ -23,7 +23,7 @@ from src.taipy.core.data.pickle import PickleDataNode
 from src.taipy.core.exceptions.exceptions import InvalidDataNodeType, ModelNotFound
 from taipy.config.common.scope import Scope
 from taipy.config.config import Config
-from tests.core.core.utils.named_temporary_file import NamedTemporaryFile
+from tests.core.utils.named_temporary_file import NamedTemporaryFile
 
 
 def file_exists(file_path: str) -> bool:

+ 0 - 0
tests/core/core/data/test_data_manager_with_sql_repo.py → tests/core/data/test_data_manager_with_sql_repo.py


+ 0 - 0
tests/core/core/data/test_data_node.py → tests/core/data/test_data_node.py


Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác