orionis 0.347.0__py3-none-any.whl → 0.362.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 (225) hide show
  1. orionis/container/__init__.py +0 -70
  2. orionis/container/container.py +2 -2
  3. orionis/container/context/__init__.py +0 -9
  4. orionis/container/contracts/__init__.py +0 -9
  5. orionis/container/entities/__init__.py +0 -7
  6. orionis/container/entities/binding.py +1 -1
  7. orionis/container/enums/__init__.py +0 -2
  8. orionis/container/exceptions/__init__.py +0 -2
  9. orionis/container/facades/__init__.py +0 -7
  10. orionis/container/facades/facade.py +1 -2
  11. orionis/container/providers/__init__.py +0 -7
  12. orionis/container/resolver/__init__.py +0 -0
  13. orionis/container/{resolver.py → resolver/resolver.py} +1 -1
  14. orionis/container/validators/__init__.py +0 -23
  15. orionis/container/validators/implements.py +8 -1
  16. orionis/container/validators/is_abstract_class.py +1 -1
  17. orionis/container/validators/is_callable.py +1 -1
  18. orionis/container/validators/is_concrete_class.py +1 -1
  19. orionis/container/validators/is_instance.py +1 -1
  20. orionis/container/validators/is_not_subclass.py +1 -1
  21. orionis/container/validators/is_subclass.py +1 -1
  22. orionis/container/validators/is_valid_alias.py +1 -1
  23. orionis/container/validators/lifetime.py +1 -1
  24. orionis/foundation/__init__.py +0 -52
  25. orionis/foundation/config/__init__.py +0 -128
  26. orionis/foundation/config/app/__init__.py +0 -10
  27. orionis/foundation/config/app/entities/__init__.py +0 -7
  28. orionis/foundation/config/app/entities/app.py +2 -3
  29. orionis/foundation/config/app/enums/__init__.py +1 -3
  30. orionis/foundation/config/auth/__init__.py +0 -7
  31. orionis/foundation/config/auth/entities/__init__.py +0 -7
  32. orionis/foundation/config/cache/__init__.py +0 -11
  33. orionis/foundation/config/cache/entities/__init__.py +0 -11
  34. orionis/foundation/config/cache/entities/cache.py +2 -2
  35. orionis/foundation/config/cache/entities/file.py +1 -1
  36. orionis/foundation/config/cache/entities/stores.py +1 -1
  37. orionis/foundation/config/cache/enums/__init__.py +1 -3
  38. orionis/foundation/config/cors/__init__.py +0 -7
  39. orionis/foundation/config/cors/entities/__init__.py +0 -7
  40. orionis/foundation/config/cors/entities/cors.py +1 -1
  41. orionis/foundation/config/database/__init__.py +0 -61
  42. orionis/foundation/config/database/entities/__init__.py +0 -17
  43. orionis/foundation/config/database/entities/connections.py +1 -1
  44. orionis/foundation/config/database/entities/database.py +1 -1
  45. orionis/foundation/config/database/entities/mysql.py +6 -4
  46. orionis/foundation/config/database/entities/oracle.py +5 -3
  47. orionis/foundation/config/database/entities/pgsql.py +5 -3
  48. orionis/foundation/config/database/entities/sqlite.py +5 -3
  49. orionis/foundation/config/database/enums/__init__.py +8 -8
  50. orionis/foundation/config/filesystems/__init__.py +0 -17
  51. orionis/foundation/config/filesystems/entitites/__init__.py +0 -15
  52. orionis/foundation/config/filesystems/entitites/aws.py +1 -1
  53. orionis/foundation/config/filesystems/entitites/disks.py +1 -1
  54. orionis/foundation/config/filesystems/entitites/filesystems.py +1 -1
  55. orionis/foundation/config/filesystems/entitites/local.py +1 -1
  56. orionis/foundation/config/filesystems/entitites/public.py +1 -1
  57. orionis/foundation/config/logging/__init__.py +0 -30
  58. orionis/foundation/config/logging/entities/__init__.py +0 -21
  59. orionis/foundation/config/logging/entities/channels.py +1 -1
  60. orionis/foundation/config/logging/entities/chunked.py +2 -2
  61. orionis/foundation/config/logging/entities/daily.py +2 -2
  62. orionis/foundation/config/logging/entities/hourly.py +2 -2
  63. orionis/foundation/config/logging/entities/logging.py +1 -1
  64. orionis/foundation/config/logging/entities/monthly.py +2 -2
  65. orionis/foundation/config/logging/entities/stack.py +2 -2
  66. orionis/foundation/config/logging/entities/weekly.py +2 -2
  67. orionis/foundation/config/logging/enums/__init__.py +0 -2
  68. orionis/foundation/config/mail/__init__.py +0 -15
  69. orionis/foundation/config/mail/entities/__init__.py +0 -13
  70. orionis/foundation/config/mail/entities/file.py +1 -1
  71. orionis/foundation/config/mail/entities/mail.py +1 -1
  72. orionis/foundation/config/mail/entities/mailers.py +1 -1
  73. orionis/foundation/config/mail/entities/smtp.py +1 -1
  74. orionis/foundation/config/queue/__init__.py +0 -20
  75. orionis/foundation/config/queue/entities/__init__.py +0 -11
  76. orionis/foundation/config/queue/entities/brokers.py +1 -1
  77. orionis/foundation/config/queue/entities/database.py +2 -2
  78. orionis/foundation/config/queue/entities/queue.py +1 -1
  79. orionis/foundation/config/queue/enums/__init__.py +1 -3
  80. orionis/foundation/config/roots/__init__.py +0 -7
  81. orionis/foundation/config/roots/paths.py +1 -1
  82. orionis/foundation/config/session/__init__.py +0 -20
  83. orionis/foundation/config/session/entities/__init__.py +0 -7
  84. orionis/foundation/config/session/entities/session.py +2 -2
  85. orionis/foundation/config/session/enums/__init__.py +1 -3
  86. orionis/foundation/config/session/helpers/__init__.py +0 -7
  87. orionis/foundation/config/startup.py +1 -1
  88. orionis/foundation/config/testing/__init__.py +0 -14
  89. orionis/foundation/config/testing/entities/__init__.py +0 -7
  90. orionis/foundation/config/testing/entities/testing.py +1 -1
  91. orionis/foundation/config/testing/enums/__init__.py +1 -3
  92. orionis/foundation/contracts/__init__.py +0 -7
  93. orionis/foundation/exceptions/__init__.py +2 -4
  94. orionis/foundation/providers/__init__.py +0 -0
  95. orionis/metadata/__init__.py +0 -46
  96. orionis/metadata/framework.py +1 -1
  97. orionis/patterns/singleton/__init__.py +0 -7
  98. orionis/services/asynchrony/__init__.py +0 -7
  99. orionis/services/asynchrony/contracts/__init__.py +0 -7
  100. orionis/services/asynchrony/coroutines.py +2 -2
  101. orionis/services/asynchrony/exceptions/__init__.py +1 -3
  102. orionis/services/environment/__init__.py +0 -7
  103. orionis/services/environment/contracts/__init__.py +0 -9
  104. orionis/services/environment/{core/dot_env.py → dot_env.py} +3 -2
  105. orionis/services/environment/env.py +2 -2
  106. orionis/services/environment/exceptions/__init__.py +0 -9
  107. orionis/services/environment/{types/env_types.py → types.py} +2 -1
  108. orionis/services/introspection/__init__.py +0 -68
  109. orionis/services/introspection/abstract/__init__.py +0 -7
  110. orionis/services/introspection/callables/__init__.py +0 -7
  111. orionis/services/introspection/concretes/__init__.py +0 -7
  112. orionis/services/introspection/contracts/__init__.py +0 -15
  113. orionis/services/introspection/dependencies/__init__.py +0 -22
  114. orionis/services/introspection/dependencies/entities/__init__.py +0 -13
  115. orionis/services/introspection/exceptions/__init__.py +0 -11
  116. orionis/services/introspection/instances/__init__.py +0 -7
  117. orionis/services/introspection/modules/__init__.py +0 -7
  118. orionis/services/log/__init__.py +0 -7
  119. orionis/services/parsers/__init__.py +0 -20
  120. orionis/services/parsers/contracts/__init__.py +0 -7
  121. orionis/services/parsers/exceptions/__init__.py +0 -7
  122. orionis/services/paths/__init__.py +0 -24
  123. orionis/services/paths/contracts/__init__.py +0 -7
  124. orionis/services/paths/exceptions/__init__.py +0 -9
  125. orionis/services/system/__init__.py +0 -17
  126. orionis/services/system/contracts/__init__.py +0 -9
  127. orionis/support/standard/__init__.py +0 -9
  128. orionis/support/standard/contracts/__init__.py +0 -5
  129. orionis/support/standard/exceptions/__init__.py +0 -5
  130. orionis/support/standard/std.py +2 -2
  131. orionis/support/wrapper/__init__.py +0 -5
  132. orionis/support/wrapper/dicts/__init__.py +0 -5
  133. orionis/test/__init__.py +0 -63
  134. orionis/test/cases/__init__.py +0 -9
  135. orionis/test/cases/test_async.py +1 -1
  136. orionis/test/cases/test_case.py +1 -1
  137. orionis/test/cases/test_sync.py +1 -1
  138. orionis/test/contracts/__init__.py +0 -11
  139. orionis/test/contracts/{unit_test.py → test_unit.py} +2 -2
  140. orionis/test/entities/__init__.py +0 -5
  141. orionis/test/entities/test_result.py +1 -1
  142. orionis/test/enums/__init__.py +0 -7
  143. orionis/test/exceptions/__init__.py +0 -13
  144. orionis/test/logs/__init__.py +0 -5
  145. orionis/test/logs/history.py +4 -3
  146. orionis/test/output/__init__.py +0 -7
  147. orionis/test/output/dumper.py +2 -2
  148. orionis/test/output/printer.py +3 -3
  149. orionis/test/suite/__init__.py +0 -5
  150. orionis/test/suite/{unit_test.py → test_unit.py} +10 -7
  151. orionis/test/test_suite.py +1 -1
  152. orionis/test/view/__init__.py +0 -5
  153. orionis/test/view/render.py +2 -2
  154. orionis/unittesting.py +64 -0
  155. {orionis-0.347.0.dist-info → orionis-0.362.0.dist-info}/METADATA +1 -1
  156. {orionis-0.347.0.dist-info → orionis-0.362.0.dist-info}/RECORD +221 -222
  157. tests/example/test_example.py +1 -1
  158. tests/foundation/config/app/test_foundation_config_app.py +1 -1
  159. tests/foundation/config/auth/test_foundation_config_auth.py +1 -1
  160. tests/foundation/config/cache/test_foundation_config_cache.py +1 -1
  161. tests/foundation/config/cache/test_foundation_config_cache_file.py +1 -1
  162. tests/foundation/config/cache/test_foundation_config_cache_stores.py +1 -1
  163. tests/foundation/config/cors/test_foundation_config_cors.py +1 -1
  164. tests/foundation/config/database/test_foundation_config_database.py +1 -1
  165. tests/foundation/config/database/test_foundation_config_database_connections.py +1 -1
  166. tests/foundation/config/database/test_foundation_config_database_mysql.py +1 -1
  167. tests/foundation/config/database/test_foundation_config_database_oracle.py +1 -1
  168. tests/foundation/config/database/test_foundation_config_database_pgsql.py +1 -1
  169. tests/foundation/config/database/test_foundation_config_database_sqlite.py +1 -1
  170. tests/foundation/config/filesystems/test_foundation_config_filesystems.py +1 -1
  171. tests/foundation/config/filesystems/test_foundation_config_filesystems_aws.py +1 -1
  172. tests/foundation/config/filesystems/test_foundation_config_filesystems_disks.py +1 -1
  173. tests/foundation/config/filesystems/test_foundation_config_filesystems_local.py +1 -1
  174. tests/foundation/config/filesystems/test_foundation_config_filesystems_public.py +1 -1
  175. tests/foundation/config/logging/test_foundation_config_logging.py +1 -1
  176. tests/foundation/config/logging/test_foundation_config_logging_channels.py +1 -1
  177. tests/foundation/config/logging/test_foundation_config_logging_chunked.py +1 -1
  178. tests/foundation/config/logging/test_foundation_config_logging_daily.py +1 -1
  179. tests/foundation/config/logging/test_foundation_config_logging_hourly.py +1 -1
  180. tests/foundation/config/logging/test_foundation_config_logging_monthly.py +1 -1
  181. tests/foundation/config/logging/test_foundation_config_logging_stack.py +1 -1
  182. tests/foundation/config/logging/test_foundation_config_logging_weekly.py +1 -1
  183. tests/foundation/config/mail/test_foundation_config_mail.py +1 -1
  184. tests/foundation/config/mail/test_foundation_config_mail_file.py +1 -1
  185. tests/foundation/config/mail/test_foundation_config_mail_mailers.py +1 -1
  186. tests/foundation/config/mail/test_foundation_config_mail_smtp.py +1 -1
  187. tests/foundation/config/queue/test_foundation_config_queue.py +1 -1
  188. tests/foundation/config/queue/test_foundation_config_queue_brokers.py +1 -1
  189. tests/foundation/config/queue/test_foundation_config_queue_database.py +1 -1
  190. tests/foundation/config/root/test_foundation_config_root_paths.py +1 -1
  191. tests/foundation/config/session/test_foundation_config_session.py +1 -1
  192. tests/foundation/config/startup/test_foundation_config_startup.py +1 -1
  193. tests/foundation/config/testing/test_foundation_config_testing.py +1 -1
  194. tests/foundation/exceptions/test_foundation_config_exceptions.py +1 -1
  195. tests/metadata/test_metadata_framework.py +2 -2
  196. tests/metadata/test_metadata_package.py +1 -1
  197. tests/patterns/singleton/test_patterns_singleton.py +2 -2
  198. tests/services/asynchrony/test_services_asynchrony_coroutine.py +3 -3
  199. tests/services/environment/test_services_environment.py +3 -3
  200. tests/services/inspection/dependencies/test_reflect_dependencies.py +1 -1
  201. tests/services/inspection/reflection/test_reflection_abstract.py +1 -1
  202. tests/services/inspection/reflection/test_reflection_callable.py +1 -1
  203. tests/services/inspection/reflection/test_reflection_concrete.py +1 -1
  204. tests/services/inspection/reflection/test_reflection_instance.py +1 -1
  205. tests/services/inspection/reflection/test_reflection_module.py +1 -1
  206. tests/services/inspection/test_reflection.py +1 -1
  207. tests/services/parsers/test_services_parser_exceptions.py +1 -1
  208. tests/services/path/test_services_resolver.py +1 -1
  209. tests/services/system/test_services_system_imports.py +1 -1
  210. tests/services/system/test_services_system_workers.py +1 -1
  211. tests/support/standard/test_services_std.py +2 -2
  212. tests/support/wrapper/test_services_wrapper_docdict.py +2 -2
  213. tests/testing/test_testing_result.py +1 -1
  214. tests/testing/test_testing_unit.py +2 -1
  215. orionis/services/environment/core/__init__.py +0 -7
  216. orionis/services/environment/helpers/__init__.py +0 -7
  217. orionis/services/environment/helpers/functions.py +0 -21
  218. orionis/services/environment/types/__init__.py +0 -7
  219. /orionis/foundation/exceptions/{value_error.py → value.py} +0 -0
  220. /orionis/patterns/singleton/{meta_class.py → meta.py} +0 -0
  221. /orionis/services/asynchrony/exceptions/{coroutine_exception.py → exception.py} +0 -0
  222. {orionis-0.347.0.dist-info → orionis-0.362.0.dist-info}/WHEEL +0 -0
  223. {orionis-0.347.0.dist-info → orionis-0.362.0.dist-info}/licenses/LICENCE +0 -0
  224. {orionis-0.347.0.dist-info → orionis-0.362.0.dist-info}/top_level.txt +0 -0
  225. {orionis-0.347.0.dist-info → orionis-0.362.0.dist-info}/zip-safe +0 -0
@@ -1,4 +1,4 @@
1
- from orionis.test import TestCase
1
+ from orionis.test.cases.test_case import TestCase
2
2
 
3
3
  class TestExample(TestCase):
4
4
  """
@@ -2,7 +2,7 @@ from orionis.foundation.config.app.entities.app import App
2
2
  from orionis.foundation.config.app.enums.ciphers import Cipher
3
3
  from orionis.foundation.config.app.enums.environments import Environments
4
4
  from orionis.foundation.exceptions.integrity import OrionisIntegrityException
5
- from orionis.test import TestCase
5
+ from orionis.unittesting import TestCase
6
6
 
7
7
  class TestFoundationConfigApp(TestCase):
8
8
 
@@ -1,5 +1,5 @@
1
1
  from orionis.foundation.config.auth.entities.auth import Auth
2
- from orionis.test import TestCase
2
+ from orionis.unittesting import TestCase
3
3
 
4
4
  class TestFoundationConfigAuth(TestCase):
5
5
  """
@@ -1,4 +1,4 @@
1
- from orionis.test import TestCase
1
+ from orionis.unittesting import TestCase
2
2
  from orionis.foundation.config.cache.entities.cache import Cache
3
3
  from orionis.foundation.config.cache.enums.drivers import Drivers
4
4
  from orionis.foundation.exceptions.integrity import OrionisIntegrityException
@@ -1,6 +1,6 @@
1
1
  from orionis.foundation.config.cache.entities.file import File
2
2
  from orionis.foundation.exceptions.integrity import OrionisIntegrityException
3
- from orionis.test import TestCase
3
+ from orionis.unittesting import TestCase
4
4
 
5
5
  class TestFoundationConfigCacheFile(TestCase):
6
6
  """
@@ -1,7 +1,7 @@
1
1
  from orionis.foundation.config.cache.entities.stores import Stores
2
2
  from orionis.foundation.config.cache.entities.file import File
3
3
  from orionis.foundation.exceptions.integrity import OrionisIntegrityException
4
- from orionis.test import TestCase
4
+ from orionis.unittesting import TestCase
5
5
 
6
6
  class TestFoundationConfigCacheStores(TestCase):
7
7
  """
@@ -1,6 +1,6 @@
1
1
  from orionis.foundation.config.cors.entities.cors import Cors
2
2
  from orionis.foundation.exceptions.integrity import OrionisIntegrityException
3
- from orionis.test import TestCase
3
+ from orionis.unittesting import TestCase
4
4
 
5
5
  class TestFoundationConfigCors(TestCase):
6
6
  """
@@ -1,7 +1,7 @@
1
1
  from orionis.foundation.config.database.entities.database import Database
2
2
  from orionis.foundation.config.database.entities.connections import Connections
3
3
  from orionis.foundation.exceptions.integrity import OrionisIntegrityException
4
- from orionis.test import TestCase
4
+ from orionis.unittesting import TestCase
5
5
 
6
6
  class TestFoundationConfigDatabase(TestCase):
7
7
  """
@@ -4,7 +4,7 @@ from orionis.foundation.config.database.entities.oracle import Oracle
4
4
  from orionis.foundation.config.database.entities.pgsql import PGSQL
5
5
  from orionis.foundation.config.database.entities.sqlite import SQLite
6
6
  from orionis.foundation.exceptions.integrity import OrionisIntegrityException
7
- from orionis.test import TestCase
7
+ from orionis.unittesting import TestCase
8
8
 
9
9
  class TestFoundationConfigDatabaseConnections(TestCase):
10
10
  """
@@ -3,7 +3,7 @@ from orionis.foundation.config.database.enums.mysql_charsets import MySQLCharset
3
3
  from orionis.foundation.config.database.enums.mysql_collations import MySQLCollation
4
4
  from orionis.foundation.config.database.enums.mysql_engine import MySQLEngine
5
5
  from orionis.foundation.exceptions.integrity import OrionisIntegrityException
6
- from orionis.test import TestCase
6
+ from orionis.unittesting import TestCase
7
7
 
8
8
  class TestFoundationConfigDatabaseMysql(TestCase):
9
9
  """
@@ -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.test import TestCase
5
+ from orionis.unittesting 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.test import TestCase
5
+ from orionis.unittesting 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.test import TestCase
6
+ from orionis.unittesting 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.test import TestCase
4
+ from orionis.unittesting 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.test import TestCase
3
+ from orionis.unittesting 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.test import TestCase
6
+ from orionis.unittesting 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.test import TestCase
3
+ from orionis.unittesting 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.test import TestCase
3
+ from orionis.unittesting 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.test import TestCase
4
+ from orionis.unittesting 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.test import TestCase
9
+ from orionis.unittesting 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.test import TestCase
4
+ from orionis.unittesting 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.test import TestCase
5
+ from orionis.unittesting 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.test import TestCase
4
+ from orionis.unittesting 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.test import TestCase
4
+ from orionis.unittesting 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.test import TestCase
4
+ from orionis.unittesting 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.test import TestCase
4
+ from orionis.unittesting 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.test import TestCase
4
+ from orionis.unittesting 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.test import TestCase
3
+ from orionis.unittesting 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.test import TestCase
5
+ from orionis.unittesting 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.test import TestCase
3
+ from orionis.unittesting 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.test import TestCase
4
+ from orionis.unittesting 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.test import TestCase
4
+ from orionis.unittesting 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.test import TestCase
4
+ from orionis.unittesting 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.test import TestCase
4
+ from orionis.unittesting 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.test import TestCase
4
+ from orionis.unittesting 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.test import TestCase, Mock
4
+ from orionis.unittesting 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.test import TestCase
4
+ from orionis.unittesting 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.test import TestCase
2
+ from orionis.unittesting import TestCase
3
3
 
4
4
  class TestFoundationConfigExceptions(TestCase):
5
5
  """
@@ -1,5 +1,5 @@
1
- from orionis.metadata import *
2
- from orionis.test import TestCase
1
+ from orionis.metadata.framework import *
2
+ from orionis.test.cases.test_case import TestCase
3
3
 
4
4
  class TestMetadataFramework(TestCase):
5
5
  """
@@ -1,4 +1,4 @@
1
- from orionis.test import TestCase, patch
1
+ from orionis.unittesting import TestCase, patch
2
2
 
3
3
  class TestPypiPackageApi(TestCase):
4
4
 
@@ -1,5 +1,5 @@
1
- from orionis.patterns.singleton import Singleton
2
- from orionis.test import TestCase
1
+ from orionis.patterns.singleton.meta import Singleton
2
+ from orionis.test.cases.test_case import TestCase
3
3
 
4
4
  class TestPatternsSingleton(TestCase):
5
5
  """
@@ -1,7 +1,7 @@
1
1
 
2
- from orionis.services.asynchrony import Coroutine
3
- from orionis.services.asynchrony.exceptions import OrionisCoroutineException
4
- from orionis.test import TestCase
2
+ from orionis.services.asynchrony.coroutines import Coroutine
3
+ from orionis.services.asynchrony.exceptions.exception import OrionisCoroutineException
4
+ from orionis.unittesting import TestCase
5
5
 
6
6
  class TestServicesAsynchronyCoroutine(TestCase):
7
7
 
@@ -1,5 +1,5 @@
1
- from orionis.services.environment import Env
2
- from orionis.test import TestCase
1
+ from orionis.services.environment.env import Env
2
+ from orionis.unittesting import TestCase
3
3
 
4
4
  class TestServicesEnvironment(TestCase):
5
5
 
@@ -16,7 +16,7 @@ class TestServicesEnvironment(TestCase):
16
16
  - `Env.set` returns True for each constant.
17
17
  - `Env.get` returns the correct value for each constant.
18
18
  """
19
- from orionis.metadata import (
19
+ from orionis.metadata.framework import (
20
20
  NAME, VERSION, AUTHOR, AUTHOR_EMAIL, DESCRIPTION,
21
21
  SKELETON, FRAMEWORK, DOCS, API, PYTHON_REQUIRES
22
22
  )
@@ -6,7 +6,7 @@ from orionis.services.introspection.dependencies.reflect_dependencies import (
6
6
  MethodDependency,
7
7
  ResolvedDependency
8
8
  )
9
- from orionis.test import TestCase
9
+ from orionis.unittesting 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.test import TestCase
4
+ from orionis.unittesting 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.test import TestCase
3
+ from orionis.unittesting 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.test import TestCase
4
+ from orionis.unittesting 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.test import TestCase
4
+ from orionis.unittesting import TestCase
5
5
 
6
6
  class TestServiceReflectionInstance(TestCase):
7
7
 
@@ -1,4 +1,4 @@
1
- from orionis.test import TestCase
1
+ from orionis.unittesting 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.test import TestCase
2
+ from orionis.unittesting 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.test import TestCase
2
+ from orionis.unittesting 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.test import TestCase
6
+ from orionis.unittesting 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.test import TestCase
2
+ from orionis.unittesting 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.test import TestCase, patch
2
+ from orionis.unittesting 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 import StdClass
3
- from orionis.test import TestCase
2
+ from orionis.support.standard.std import StdClass
3
+ from orionis.unittesting import TestCase
4
4
 
5
5
  class TestSupportStd(TestCase):
6
6
 
@@ -1,5 +1,5 @@
1
- from orionis.support.wrapper.dicts import DotDict
2
- from orionis.test import TestCase
1
+ from orionis.support.wrapper.dicts.dot_dict import DotDict
2
+ from orionis.unittesting import TestCase
3
3
 
4
4
  class TestSupportWrapperDocDict(TestCase):
5
5
  """
@@ -1,4 +1,4 @@
1
- from orionis.test import TestCase, TestResult, TestStatus
1
+ from orionis.unittesting import TestCase, TestResult, TestStatus
2
2
 
3
3
  class TestTestingResult(TestCase):
4
4
 
@@ -1,4 +1,5 @@
1
- from orionis.test import TestCase, UnitTest, ExecutionMode, TestLoader, StandardTestSuite, patch, MagicMock, StandardTestResult
1
+ from orionis.test.cases.test_case import TestCase
2
+ from orionis.unittesting import UnitTest, ExecutionMode, TestLoader, StandardTestSuite, patch, MagicMock, StandardTestResult
2
3
 
3
4
  class TestTestingUnit(TestCase):
4
5
 
@@ -1,7 +0,0 @@
1
- # Import environment services
2
- from .dot_env import DotEnv
3
-
4
- # Define the public API of this module
5
- __all__ = [
6
- "DotEnv"
7
- ]
@@ -1,7 +0,0 @@
1
- # Import environment helpers
2
- from .functions import env
3
-
4
- # Define the public API of this module
5
- __all__ = [
6
- "env"
7
- ]
@@ -1,21 +0,0 @@
1
- from typing import Any
2
- from orionis.services.environment.core import DotEnv
3
-
4
- def env(key: str, default: Any = None) -> Any:
5
- """
6
- Retrieve the value of an environment variable.
7
-
8
- Parameters
9
- ----------
10
- key : str
11
- The name of the environment variable to retrieve.
12
- default : Any, optional
13
- The value to return if the environment variable is not found. Default is None.
14
-
15
- Returns
16
- -------
17
- Any
18
- The value of the environment variable if it exists, otherwise the default value.
19
- """
20
- dotenv = DotEnv()
21
- return dotenv.get(key, default)
@@ -1,7 +0,0 @@
1
- # Import environment types
2
- from .env_types import EnvTypes
3
-
4
- # Define the public API of this module
5
- __all__ = [
6
- "EnvTypes"
7
- ]
File without changes