orionis 0.336.0__py3-none-any.whl → 0.338.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. orionis/metadata/framework.py +1 -1
  2. orionis/support/standard/__init__.py +9 -0
  3. orionis/support/standard/contracts/__init__.py +5 -0
  4. orionis/support/standard/exceptions/__init__.py +5 -0
  5. orionis/support/standard/std.py +2 -2
  6. orionis/support/wrapper/__init__.py +5 -0
  7. orionis/support/wrapper/dicts/__init__.py +5 -0
  8. orionis/test/__init__.py +63 -0
  9. orionis/test/cases/__init__.py +9 -0
  10. orionis/test/contracts/__init__.py +11 -0
  11. orionis/test/entities/__init__.py +5 -0
  12. orionis/test/enums/__init__.py +7 -0
  13. orionis/test/exceptions/__init__.py +13 -0
  14. orionis/test/logs/__init__.py +5 -0
  15. orionis/test/output/__init__.py +7 -0
  16. orionis/test/suite/__init__.py +5 -0
  17. orionis/test/suite/{test_unit.py → unit_test.py} +9 -9
  18. orionis/test/test_suite.py +1 -1
  19. orionis/test/view/__init__.py +5 -0
  20. {orionis-0.336.0.dist-info → orionis-0.338.0.dist-info}/METADATA +1 -1
  21. {orionis-0.336.0.dist-info → orionis-0.338.0.dist-info}/RECORD +84 -85
  22. tests/example/test_example.py +1 -1
  23. tests/foundation/config/app/test_foundation_config_app.py +1 -1
  24. tests/foundation/config/auth/test_foundation_config_auth.py +1 -1
  25. tests/foundation/config/cache/test_foundation_config_cache.py +1 -1
  26. tests/foundation/config/cache/test_foundation_config_cache_file.py +1 -1
  27. tests/foundation/config/cache/test_foundation_config_cache_stores.py +1 -1
  28. tests/foundation/config/cors/test_foundation_config_cors.py +1 -1
  29. tests/foundation/config/database/test_foundation_config_database.py +1 -1
  30. tests/foundation/config/database/test_foundation_config_database_connections.py +1 -1
  31. tests/foundation/config/database/test_foundation_config_database_mysql.py +1 -1
  32. tests/foundation/config/database/test_foundation_config_database_oracle.py +1 -1
  33. tests/foundation/config/database/test_foundation_config_database_pgsql.py +1 -1
  34. tests/foundation/config/database/test_foundation_config_database_sqlite.py +1 -1
  35. tests/foundation/config/filesystems/test_foundation_config_filesystems.py +1 -1
  36. tests/foundation/config/filesystems/test_foundation_config_filesystems_aws.py +1 -1
  37. tests/foundation/config/filesystems/test_foundation_config_filesystems_disks.py +1 -1
  38. tests/foundation/config/filesystems/test_foundation_config_filesystems_local.py +1 -1
  39. tests/foundation/config/filesystems/test_foundation_config_filesystems_public.py +1 -1
  40. tests/foundation/config/logging/test_foundation_config_logging.py +1 -1
  41. tests/foundation/config/logging/test_foundation_config_logging_channels.py +1 -1
  42. tests/foundation/config/logging/test_foundation_config_logging_chunked.py +1 -1
  43. tests/foundation/config/logging/test_foundation_config_logging_daily.py +1 -1
  44. tests/foundation/config/logging/test_foundation_config_logging_hourly.py +1 -1
  45. tests/foundation/config/logging/test_foundation_config_logging_monthly.py +1 -1
  46. tests/foundation/config/logging/test_foundation_config_logging_stack.py +1 -1
  47. tests/foundation/config/logging/test_foundation_config_logging_weekly.py +1 -1
  48. tests/foundation/config/mail/test_foundation_config_mail.py +1 -1
  49. tests/foundation/config/mail/test_foundation_config_mail_file.py +1 -1
  50. tests/foundation/config/mail/test_foundation_config_mail_mailers.py +1 -1
  51. tests/foundation/config/mail/test_foundation_config_mail_smtp.py +1 -1
  52. tests/foundation/config/queue/test_foundation_config_queue.py +1 -1
  53. tests/foundation/config/queue/test_foundation_config_queue_brokers.py +1 -1
  54. tests/foundation/config/queue/test_foundation_config_queue_database.py +1 -1
  55. tests/foundation/config/root/test_foundation_config_root_paths.py +1 -1
  56. tests/foundation/config/session/test_foundation_config_session.py +1 -1
  57. tests/foundation/config/startup/test_foundation_config_startup.py +1 -1
  58. tests/foundation/config/testing/test_foundation_config_testing.py +1 -1
  59. tests/foundation/exceptions/test_foundation_config_exceptions.py +1 -1
  60. tests/metadata/test_metadata_framework.py +1 -1
  61. tests/metadata/test_metadata_package.py +1 -1
  62. tests/patterns/singleton/test_patterns_singleton.py +1 -1
  63. tests/services/asynchrony/test_services_asynchrony_coroutine.py +1 -1
  64. tests/services/environment/test_services_environment.py +1 -1
  65. tests/services/inspection/dependencies/test_reflect_dependencies.py +1 -1
  66. tests/services/inspection/reflection/test_reflection_abstract.py +1 -1
  67. tests/services/inspection/reflection/test_reflection_callable.py +1 -1
  68. tests/services/inspection/reflection/test_reflection_concrete.py +1 -1
  69. tests/services/inspection/reflection/test_reflection_instance.py +1 -1
  70. tests/services/inspection/reflection/test_reflection_module.py +1 -1
  71. tests/services/inspection/test_reflection.py +1 -1
  72. tests/services/parsers/test_services_parser_exceptions.py +1 -1
  73. tests/services/path/test_services_resolver.py +1 -1
  74. tests/services/system/test_services_system_imports.py +1 -1
  75. tests/services/system/test_services_system_workers.py +1 -1
  76. tests/support/standard/test_services_std.py +2 -2
  77. tests/support/wrapper/test_services_wrapper_docdict.py +2 -2
  78. tests/testing/test_testing_result.py +1 -1
  79. tests/testing/test_testing_unit.py +1 -1
  80. orionis/unittesting.py +0 -64
  81. /orionis/test/contracts/{test_unit.py → unit_test.py} +0 -0
  82. {orionis-0.336.0.dist-info → orionis-0.338.0.dist-info}/WHEEL +0 -0
  83. {orionis-0.336.0.dist-info → orionis-0.338.0.dist-info}/licenses/LICENCE +0 -0
  84. {orionis-0.336.0.dist-info → orionis-0.338.0.dist-info}/top_level.txt +0 -0
  85. {orionis-0.336.0.dist-info → orionis-0.338.0.dist-info}/zip-safe +0 -0
@@ -2,7 +2,7 @@ from orionis.foundation.config.database.entities.oracle import Oracle
2
2
  from orionis.foundation.config.database.enums.oracle_encoding import OracleEncoding
3
3
  from orionis.foundation.config.database.enums.oracle_nencoding import OracleNencoding
4
4
  from orionis.foundation.exceptions.integrity import OrionisIntegrityException
5
- from orionis.unittesting import TestCase
5
+ from orionis.test import TestCase
6
6
 
7
7
  class TestFoundationConfigDatabaseOracle(TestCase):
8
8
  """
@@ -2,7 +2,7 @@ from orionis.foundation.config.database.entities.pgsql import PGSQL
2
2
  from orionis.foundation.config.database.enums.pgsql_charsets import PGSQLCharset
3
3
  from orionis.foundation.config.database.enums.pgsql_mode import PGSQLSSLMode
4
4
  from orionis.foundation.exceptions.integrity import OrionisIntegrityException
5
- from orionis.unittesting import TestCase
5
+ from orionis.test import TestCase
6
6
 
7
7
  class TestFoundationConfigDatabasePgsql(TestCase):
8
8
  """
@@ -3,7 +3,7 @@ from orionis.foundation.config.database.enums.sqlite_foreign_key import SQLiteFo
3
3
  from orionis.foundation.config.database.enums.sqlite_journal import SQLiteJournalMode
4
4
  from orionis.foundation.config.database.enums.sqlite_synchronous import SQLiteSynchronous
5
5
  from orionis.foundation.exceptions.integrity import OrionisIntegrityException
6
- from orionis.unittesting import TestCase
6
+ from orionis.test import TestCase
7
7
 
8
8
  class TestFoundationConfigDatabaseSqlite(TestCase):
9
9
  """
@@ -1,7 +1,7 @@
1
1
  from orionis.foundation.config.filesystems.entitites.disks import Disks
2
2
  from orionis.foundation.config.filesystems.entitites.filesystems import Filesystems
3
3
  from orionis.foundation.exceptions.integrity import OrionisIntegrityException
4
- from orionis.unittesting import TestCase
4
+ from orionis.test import TestCase
5
5
 
6
6
  class TestFoundationConfigFilesystems(TestCase):
7
7
  """
@@ -1,6 +1,6 @@
1
1
  from orionis.foundation.exceptions.integrity import OrionisIntegrityException
2
2
  from orionis.foundation.config.filesystems.entitites.aws import S3
3
- from orionis.unittesting import TestCase
3
+ from orionis.test import TestCase
4
4
 
5
5
  class TestFoundationConfigFilesystemsAws(TestCase):
6
6
  """
@@ -3,7 +3,7 @@ from orionis.foundation.config.filesystems.entitites.disks import Disks
3
3
  from orionis.foundation.config.filesystems.entitites.local import Local
4
4
  from orionis.foundation.config.filesystems.entitites.public import Public
5
5
  from orionis.foundation.exceptions.integrity import OrionisIntegrityException
6
- from orionis.unittesting import TestCase
6
+ from orionis.test import TestCase
7
7
 
8
8
  class TestFoundationConfigFilesystemsDisks(TestCase):
9
9
  """
@@ -1,6 +1,6 @@
1
1
  from orionis.foundation.config.filesystems.entitites.local import Local
2
2
  from orionis.foundation.exceptions.integrity import OrionisIntegrityException
3
- from orionis.unittesting import TestCase
3
+ from orionis.test import TestCase
4
4
 
5
5
  class TestFoundationConfigFilesystemsLocal(TestCase):
6
6
  """
@@ -1,6 +1,6 @@
1
1
  from orionis.foundation.exceptions.integrity import OrionisIntegrityException
2
2
  from orionis.foundation.config.filesystems.entitites.public import Public
3
- from orionis.unittesting import TestCase
3
+ from orionis.test import TestCase
4
4
 
5
5
  class TestFoundationConfigFilesystemsPublic(TestCase):
6
6
  """
@@ -1,7 +1,7 @@
1
1
  from orionis.foundation.config.logging.entities.logging import Logging
2
2
  from orionis.foundation.config.logging.entities.channels import Channels
3
3
  from orionis.foundation.exceptions.integrity import OrionisIntegrityException
4
- from orionis.unittesting import TestCase
4
+ from orionis.test import TestCase
5
5
 
6
6
  class TestFoundationConfigLogging(TestCase):
7
7
  """
@@ -6,7 +6,7 @@ from orionis.foundation.config.logging.entities.weekly import Weekly
6
6
  from orionis.foundation.config.logging.entities.monthly import Monthly
7
7
  from orionis.foundation.config.logging.entities.chunked import Chunked
8
8
  from orionis.foundation.exceptions.integrity import OrionisIntegrityException
9
- from orionis.unittesting import TestCase
9
+ from orionis.test import TestCase
10
10
 
11
11
  class TestFoundationConfigLoggingChannels(TestCase):
12
12
  """
@@ -1,7 +1,7 @@
1
1
  from orionis.foundation.config.logging.entities.chunked import Chunked
2
2
  from orionis.foundation.config.logging.enums.levels import Level
3
3
  from orionis.foundation.exceptions.integrity import OrionisIntegrityException
4
- from orionis.unittesting import TestCase
4
+ from orionis.test import TestCase
5
5
 
6
6
  class TestFoundationConfigLoggingChunked(TestCase):
7
7
  """
@@ -2,7 +2,7 @@ from datetime import time
2
2
  from orionis.foundation.config.logging.entities.daily import Daily
3
3
  from orionis.foundation.config.logging.enums.levels import Level
4
4
  from orionis.foundation.exceptions.integrity import OrionisIntegrityException
5
- from orionis.unittesting import TestCase
5
+ from orionis.test import TestCase
6
6
 
7
7
  class TestFoundationConfigLoggingDaily(TestCase):
8
8
  """
@@ -1,7 +1,7 @@
1
1
  from orionis.foundation.config.logging.entities.hourly import Hourly
2
2
  from orionis.foundation.config.logging.enums.levels import Level
3
3
  from orionis.foundation.exceptions.integrity import OrionisIntegrityException
4
- from orionis.unittesting import TestCase
4
+ from orionis.test import TestCase
5
5
 
6
6
  class TestFoundationConfigLoggingHourly(TestCase):
7
7
  """
@@ -1,7 +1,7 @@
1
1
  from orionis.foundation.config.logging.entities.monthly import Monthly
2
2
  from orionis.foundation.config.logging.enums.levels import Level
3
3
  from orionis.foundation.exceptions.integrity import OrionisIntegrityException
4
- from orionis.unittesting import TestCase
4
+ from orionis.test import TestCase
5
5
 
6
6
  class TestFoundationConfigLoggingMonthly(TestCase):
7
7
  """
@@ -1,7 +1,7 @@
1
1
  from orionis.foundation.config.logging.entities.stack import Stack
2
2
  from orionis.foundation.config.logging.enums.levels import Level
3
3
  from orionis.foundation.exceptions.integrity import OrionisIntegrityException
4
- from orionis.unittesting import TestCase
4
+ from orionis.test import TestCase
5
5
 
6
6
  class TestFoundationConfigLoggingStack(TestCase):
7
7
  """
@@ -1,7 +1,7 @@
1
1
  from orionis.foundation.config.logging.entities.weekly import Weekly
2
2
  from orionis.foundation.config.logging.enums.levels import Level
3
3
  from orionis.foundation.exceptions.integrity import OrionisIntegrityException
4
- from orionis.unittesting import TestCase
4
+ from orionis.test import TestCase
5
5
 
6
6
  class TestFoundationConfigLoggingWeekly(TestCase):
7
7
  """
@@ -1,7 +1,7 @@
1
1
  from orionis.foundation.config.mail.entities.mail import Mail
2
2
  from orionis.foundation.config.mail.entities.mailers import Mailers
3
3
  from orionis.foundation.exceptions.integrity import OrionisIntegrityException
4
- from orionis.unittesting import TestCase
4
+ from orionis.test import TestCase
5
5
 
6
6
  class TestFoundationConfigMail(TestCase):
7
7
  """
@@ -1,6 +1,6 @@
1
1
  from orionis.foundation.config.mail.entities.file import File
2
2
  from orionis.foundation.exceptions.integrity import OrionisIntegrityException
3
- from orionis.unittesting import TestCase
3
+ from orionis.test import TestCase
4
4
 
5
5
  class TestFoundationConfigMailFile(TestCase):
6
6
  """
@@ -2,7 +2,7 @@ from orionis.foundation.config.mail.entities.mailers import Mailers
2
2
  from orionis.foundation.config.mail.entities.smtp import Smtp
3
3
  from orionis.foundation.config.mail.entities.file import File
4
4
  from orionis.foundation.exceptions.integrity import OrionisIntegrityException
5
- from orionis.unittesting import TestCase
5
+ from orionis.test import TestCase
6
6
 
7
7
  class TestFoundationConfigMailMailers(TestCase):
8
8
  """
@@ -1,6 +1,6 @@
1
1
  from orionis.foundation.config.mail.entities.smtp import Smtp
2
2
  from orionis.foundation.exceptions.integrity import OrionisIntegrityException
3
- from orionis.unittesting import TestCase
3
+ from orionis.test import TestCase
4
4
 
5
5
  class TestFoundationConfigMailSmtp(TestCase):
6
6
  """
@@ -1,7 +1,7 @@
1
1
  from orionis.foundation.config.queue.entities.queue import Queue
2
2
  from orionis.foundation.config.queue.entities.brokers import Brokers
3
3
  from orionis.foundation.exceptions.integrity import OrionisIntegrityException
4
- from orionis.unittesting import TestCase
4
+ from orionis.test import TestCase
5
5
 
6
6
  class TestFoundationConfigQueue(TestCase):
7
7
  """
@@ -1,7 +1,7 @@
1
1
  from orionis.foundation.config.queue.entities.brokers import Brokers
2
2
  from orionis.foundation.config.queue.entities.database import Database
3
3
  from orionis.foundation.exceptions.integrity import OrionisIntegrityException
4
- from orionis.unittesting import TestCase
4
+ from orionis.test import TestCase
5
5
 
6
6
  class TestFoundationConfigQueueBrokers(TestCase):
7
7
  async def testDefaultInitialization(self):
@@ -1,7 +1,7 @@
1
1
  from orionis.foundation.config.queue.entities.database import Database
2
2
  from orionis.foundation.config.queue.enums.strategy import Strategy
3
3
  from orionis.foundation.exceptions.integrity import OrionisIntegrityException
4
- from orionis.unittesting import TestCase
4
+ from orionis.test import TestCase
5
5
 
6
6
  class TestFoundationConfigQueueDatabase(TestCase):
7
7
  async def testDefaultInitialization(self):
@@ -1,7 +1,7 @@
1
1
  from pathlib import Path
2
2
  from orionis.foundation.exceptions.integrity import OrionisIntegrityException
3
3
  from orionis.foundation.config.roots.paths import Paths
4
- from orionis.unittesting import TestCase
4
+ from orionis.test import TestCase
5
5
 
6
6
  class TestFoundationConfigRootPaths(TestCase):
7
7
  """
@@ -1,7 +1,7 @@
1
1
  from orionis.foundation.config.session.entities.session import Session
2
2
  from orionis.foundation.config.session.enums.same_site_policy import SameSitePolicy
3
3
  from orionis.foundation.exceptions.integrity import OrionisIntegrityException
4
- from orionis.unittesting import TestCase
4
+ from orionis.test import TestCase
5
5
 
6
6
  class TestFoundationConfigSession(TestCase):
7
7
  async def testDefaultInitialization(self):
@@ -1,7 +1,7 @@
1
1
  from dataclasses import is_dataclass
2
2
  from orionis.foundation.exceptions.integrity import OrionisIntegrityException
3
3
  from orionis.foundation.config.startup import Configuration
4
- from orionis.unittesting import TestCase, Mock
4
+ from orionis.test import TestCase, Mock
5
5
 
6
6
  class TestFoundationConfigStartup(TestCase):
7
7
  """
@@ -1,7 +1,7 @@
1
1
  from orionis.foundation.config.testing.entities.testing import Testing
2
2
  from orionis.foundation.exceptions.integrity import OrionisIntegrityException
3
3
  from orionis.test.enums.test_mode import ExecutionMode
4
- from orionis.unittesting import TestCase
4
+ from orionis.test import TestCase
5
5
 
6
6
  class TestFoundationConfigTesting(TestCase):
7
7
  """
@@ -1,5 +1,5 @@
1
1
  from orionis.foundation.exceptions.integrity import OrionisIntegrityException
2
- from orionis.unittesting import TestCase
2
+ from orionis.test import TestCase
3
3
 
4
4
  class TestFoundationConfigExceptions(TestCase):
5
5
  """
@@ -1,5 +1,5 @@
1
1
  from orionis.metadata.framework import *
2
- from orionis.unittesting import TestCase
2
+ from orionis.test import TestCase
3
3
 
4
4
  class TestMetadataFramework(TestCase):
5
5
  """
@@ -1,4 +1,4 @@
1
- from orionis.unittesting import TestCase, patch
1
+ from orionis.test import TestCase, patch
2
2
 
3
3
  class TestPypiPackageApi(TestCase):
4
4
 
@@ -1,5 +1,5 @@
1
1
  from orionis.patterns.singleton.meta_class import Singleton
2
- from orionis.unittesting import TestCase
2
+ from orionis.test import TestCase
3
3
 
4
4
  class TestPatternsSingleton(TestCase):
5
5
  """
@@ -1,7 +1,7 @@
1
1
 
2
2
  from orionis.services.asynchrony.coroutines import Coroutine
3
3
  from orionis.services.asynchrony.exceptions.coroutine_exception import OrionisCoroutineException
4
- from orionis.unittesting import TestCase
4
+ from orionis.test import TestCase
5
5
 
6
6
  class TestServicesAsynchronyCoroutine(TestCase):
7
7
 
@@ -1,5 +1,5 @@
1
1
  from orionis.services.environment.env import Env
2
- from orionis.unittesting import TestCase
2
+ from orionis.test import TestCase
3
3
 
4
4
  class TestServicesEnvironment(TestCase):
5
5
 
@@ -6,7 +6,7 @@ from orionis.services.introspection.dependencies.reflect_dependencies import (
6
6
  MethodDependency,
7
7
  ResolvedDependency
8
8
  )
9
- from orionis.unittesting import TestCase
9
+ from orionis.test import TestCase
10
10
  from tests.services.inspection.dependencies.mocks.mock_user import FakeUser
11
11
  from tests.services.inspection.dependencies.mocks.mock_user_controller import UserController
12
12
  from tests.services.inspection.dependencies.mocks.mock_users_permissions import FakeUserWithPermissions
@@ -1,7 +1,7 @@
1
1
  from orionis.services.introspection.abstract.reflection_abstract import ReflectionAbstract
2
2
  from orionis.services.introspection.dependencies.entities.class_dependencies import ClassDependency
3
3
  from tests.services.inspection.reflection.mock.fake_reflect_instance import AbstractFakeClass
4
- from orionis.unittesting import TestCase
4
+ from orionis.test import TestCase
5
5
 
6
6
  class TestServiceReflectionAbstract(TestCase):
7
7
 
@@ -1,6 +1,6 @@
1
1
  from orionis.services.introspection.callables.reflection_callable import ReflectionCallable
2
2
  from orionis.services.introspection.dependencies.entities.callable_dependencies import CallableDependency
3
- from orionis.unittesting import TestCase
3
+ from orionis.test import TestCase
4
4
  from orionis.services.introspection.exceptions.reflection_type_error import ReflectionTypeError
5
5
 
6
6
  class TestReflectionCallable(TestCase):
@@ -1,7 +1,7 @@
1
1
  from orionis.services.introspection.concretes.reflection_concrete import ReflectionConcrete
2
2
  from orionis.services.introspection.dependencies.entities.class_dependencies import ClassDependency
3
3
  from tests.services.inspection.reflection.mock.fake_reflect_instance import FakeClass
4
- from orionis.unittesting import TestCase
4
+ from orionis.test import TestCase
5
5
 
6
6
  class TestServiceReflectionConcrete(TestCase):
7
7
 
@@ -1,7 +1,7 @@
1
1
  from orionis.services.introspection.dependencies.entities.class_dependencies import ClassDependency
2
2
  from tests.services.inspection.reflection.mock.fake_reflect_instance import FakeClass
3
3
  from orionis.services.introspection.instances.reflection_instance import ReflectionInstance
4
- from orionis.unittesting import TestCase
4
+ from orionis.test import TestCase
5
5
 
6
6
  class TestServiceReflectionInstance(TestCase):
7
7
 
@@ -1,4 +1,4 @@
1
- from orionis.unittesting import TestCase
1
+ from orionis.test import TestCase
2
2
  from orionis.services.introspection.modules.reflection_module import ReflectionModule
3
3
  from orionis.services.introspection.exceptions.reflection_type_error import ReflectionTypeError
4
4
  from orionis.services.introspection.exceptions.reflection_value_error import ReflectionValueError
@@ -1,5 +1,5 @@
1
1
  from orionis.services.introspection.reflection import Reflection
2
- from orionis.unittesting import TestCase
2
+ from orionis.test import TestCase
3
3
  import sys
4
4
  import inspect
5
5
  import abc
@@ -1,5 +1,5 @@
1
1
  from orionis.services.parsers.serializer import Parser
2
- from orionis.unittesting import TestCase
2
+ from orionis.test import TestCase
3
3
  from tests.services.parsers.mocks.mock_custom_error import CustomError
4
4
 
5
5
  class TestServicesParserExceptions(TestCase):
@@ -3,7 +3,7 @@ import tempfile
3
3
  from pathlib import Path
4
4
  from orionis.services.paths.exceptions.not_found_exceptions import OrionisFileNotFoundException
5
5
  from orionis.services.paths.resolver import Resolver
6
- from orionis.unittesting import TestCase
6
+ from orionis.test import TestCase
7
7
 
8
8
  class TestServicesResolver(TestCase):
9
9
 
@@ -1,5 +1,5 @@
1
1
  from orionis.services.system.imports import Imports
2
- from orionis.unittesting import TestCase
2
+ from orionis.test import TestCase
3
3
  import sys
4
4
  import types
5
5
 
@@ -1,5 +1,5 @@
1
1
  from orionis.services.system.workers import Workers
2
- from orionis.unittesting import TestCase, patch
2
+ from orionis.test import TestCase, patch
3
3
 
4
4
  class TestServicesSystemWorkers(TestCase):
5
5
  """
@@ -1,6 +1,6 @@
1
1
  from orionis.support.standard.exceptions.std_value_exception import OrionisStdValueException
2
- from orionis.support.standard.std import StdClass
3
- from orionis.unittesting import TestCase
2
+ from orionis.support.standard import StdClass
3
+ from orionis.test import TestCase
4
4
 
5
5
  class TestSupportStd(TestCase):
6
6
 
@@ -1,5 +1,5 @@
1
- from orionis.support.wrapper.dicts.dot_dict import DotDict
2
- from orionis.unittesting import TestCase
1
+ from orionis.support.wrapper.dicts import DotDict
2
+ from orionis.test import TestCase
3
3
 
4
4
  class TestSupportWrapperDocDict(TestCase):
5
5
  """
@@ -1,4 +1,4 @@
1
- from orionis.unittesting import TestCase, TestResult, TestStatus
1
+ from orionis.test import TestCase, TestResult, TestStatus
2
2
 
3
3
  class TestTestingResult(TestCase):
4
4
 
@@ -1,4 +1,4 @@
1
- from orionis.unittesting import TestCase, UnitTest, ExecutionMode, TestLoader, StandardTestSuite, patch, MagicMock, StandardTestResult
1
+ from orionis.test import TestCase, UnitTest, ExecutionMode, TestLoader, StandardTestSuite, patch, MagicMock, StandardTestResult
2
2
 
3
3
  class TestTestingUnit(TestCase):
4
4
 
orionis/unittesting.py DELETED
@@ -1,64 +0,0 @@
1
- # Import custom test case classes from the orionis.test.cases module
2
- from orionis.test.cases.test_case import TestCase
3
- from orionis.test.cases.test_sync import SyncTestCase
4
- from orionis.test.cases.test_async import AsyncTestCase
5
-
6
- # Import the custom TestHistory class for logging test results
7
- from orionis.test.logs.history import TestHistory
8
-
9
- # Import the custom TestResult entity
10
- from orionis.test.entities.test_result import TestResult
11
-
12
- # Import enums for execution mode and test status
13
- from orionis.test.enums.test_mode import ExecutionMode
14
- from orionis.test.enums.test_status import TestStatus
15
-
16
- # Import custom exception for test failures
17
- from orionis.test.exceptions.test_failure_exception import OrionisTestFailureException
18
- from orionis.test.exceptions.test_config_exception import OrionisTestConfigException
19
- from orionis.test.exceptions.test_persistence_error import OrionisTestPersistenceError
20
- from orionis.test.exceptions.test_runtime_error import OrionisTestRuntimeError
21
- from orionis.test.exceptions.test_value_error import OrionisTestValueError
22
-
23
- # Import configuration and suite classes for organizing tests
24
- from orionis.test.test_suite import Configuration, TestSuite
25
- from orionis.test.suite.test_unit import UnitTest
26
-
27
- # Import standard unittest components for compatibility
28
- from unittest import (
29
- TestLoader,
30
- TestSuite as StandardTestSuite,
31
- TestResult as StandardTestResult
32
- )
33
-
34
- # Import mock classes for creating test doubles
35
- from unittest.mock import (
36
- Mock,
37
- MagicMock,
38
- patch
39
- )
40
-
41
- # Define the public API of this module
42
- __all__ = [
43
- "TestCase",
44
- "SyncTestCase",
45
- "AsyncTestCase",
46
- "TestResult",
47
- "ExecutionMode",
48
- "TestStatus",
49
- "OrionisTestFailureException",
50
- "OrionisTestConfigException",
51
- "OrionisTestPersistenceError",
52
- "OrionisTestRuntimeError",
53
- "OrionisTestValueError",
54
- "Configuration",
55
- "TestSuite",
56
- "UnitTest",
57
- "TestLoader",
58
- "StandardTestSuite",
59
- "StandardTestResult",
60
- "Mock",
61
- "MagicMock",
62
- "TestHistory",
63
- "patch",
64
- ]
File without changes