orionis 0.286.0__py3-none-any.whl → 0.288.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 (86) hide show
  1. orionis/metadata/framework.py +1 -1
  2. orionis/services/environment/contracts/env.py +45 -50
  3. orionis/services/environment/contracts/types.py +70 -0
  4. orionis/services/environment/dot_env.py +204 -182
  5. orionis/services/environment/env.py +68 -85
  6. orionis/services/{standard/exceptions/path_value_exceptions.py → environment/exceptions/environment_value_error.py} +2 -12
  7. orionis/services/environment/exceptions/environment_value_exception.py +23 -0
  8. orionis/services/environment/types.py +578 -0
  9. orionis/services/paths/exceptions/not_found_exceptions.py +15 -12
  10. orionis/services/paths/exceptions/path_value_exceptions.py +13 -10
  11. orionis/services/standard/contracts/std.py +1 -1
  12. orionis/services/standard/exceptions/std_value_exception.py +23 -0
  13. orionis/services/standard/std.py +2 -2
  14. orionis/services/system/contracts/imports.py +27 -7
  15. orionis/services/system/contracts/workers.py +8 -3
  16. orionis/services/system/imports.py +31 -12
  17. orionis/services/system/runtime_imports.py +33 -23
  18. orionis/services/system/workers.py +6 -8
  19. orionis/services/wrapper/dicts/dot_dict.py +82 -41
  20. orionis/test/logs/history.py +3 -5
  21. orionis/unittesting.py +12 -12
  22. {orionis-0.286.0.dist-info → orionis-0.288.0.dist-info}/METADATA +1 -1
  23. {orionis-0.286.0.dist-info → orionis-0.288.0.dist-info}/RECORD +76 -70
  24. tests/example/test_example.py +5 -2
  25. tests/foundation/config/app/{test_app.py → test_foundation_config_app.py} +14 -4
  26. tests/foundation/config/auth/{test_auth.py → test_foundation_config_auth.py} +10 -5
  27. tests/foundation/config/cache/{test_cache.py → test_foundation_config_cache.py} +61 -16
  28. tests/foundation/config/cache/test_foundation_config_cache_file.py +126 -0
  29. tests/foundation/config/cache/test_foundation_config_cache_stores.py +148 -0
  30. tests/foundation/config/cors/test_foundation_config_cors.py +190 -0
  31. tests/foundation/config/database/{test_database.py → test_foundation_config_database.py} +39 -15
  32. tests/foundation/config/database/{test_database_connections.py → test_foundation_config_database_connections.py} +80 -6
  33. tests/foundation/config/database/{test_database_mysql.py → test_foundation_config_database_mysql.py} +139 -16
  34. tests/foundation/config/database/{test_database_oracle.py → test_foundation_config_database_oracle.py} +111 -27
  35. tests/foundation/config/database/{test_database_pgsql.py → test_foundation_config_database_pgsql.py} +97 -27
  36. tests/foundation/config/database/{test_database_sqlite.py → test_foundation_config_database_sqlite.py} +57 -3
  37. tests/foundation/config/exceptions/{test_exceptions_integrity.py → test_foundation_config_exceptions.py} +45 -11
  38. tests/foundation/config/filesystems/{test_filesystems.py → test_foundation_config_filesystems.py} +65 -15
  39. tests/foundation/config/filesystems/{test_filesystems_aws.py → test_foundation_config_filesystems_aws.py} +46 -8
  40. tests/foundation/config/filesystems/{test_filesystems_disks.py → test_foundation_config_filesystems_disks.py} +79 -9
  41. tests/foundation/config/filesystems/{test_filesystems_local.py → test_foundation_config_filesystems_local.py} +67 -19
  42. tests/foundation/config/filesystems/{test_filesystems_public.py → test_foundation_config_filesystems_public.py} +38 -1
  43. tests/foundation/config/logging/test_foundation_config_logging.py +112 -0
  44. tests/foundation/config/logging/{test_logging_channels.py → test_foundation_config_logging_channels.py} +80 -3
  45. tests/foundation/config/logging/{test_logging_chunked.py → test_foundation_config_logging_chunked.py} +86 -13
  46. tests/foundation/config/logging/{test_logging_daily.py → test_foundation_config_logging_daily.py} +80 -13
  47. tests/foundation/config/logging/{test_logging_hourly.py → test_foundation_config_logging_hourly.py} +69 -3
  48. tests/foundation/config/logging/{test_logging_monthly.py → test_foundation_config_logging_monthly.py} +49 -3
  49. tests/foundation/config/logging/{test_logging_stack.py → test_foundation_config_logging_stack.py} +50 -15
  50. tests/foundation/config/logging/{test_logging_weekly.py → test_foundation_config_logging_weekly.py} +93 -3
  51. tests/foundation/config/mail/test_foundation_config_mail.py +145 -0
  52. tests/foundation/config/mail/{test_mail_file.py → test_foundation_config_mail_file.py} +41 -5
  53. tests/foundation/config/mail/test_foundation_config_mail_mailers.py +106 -0
  54. tests/foundation/config/mail/{test_mail_smtp.py → test_foundation_config_mail_smtp.py} +59 -15
  55. tests/foundation/config/queue/test_foundation_config_queue.py +111 -0
  56. tests/foundation/config/queue/{test_queue_brokers.py → test_foundation_config_queue_brokers.py} +28 -11
  57. tests/foundation/config/queue/{test_queue_database.py → test_foundation_config_queue_database.py} +54 -16
  58. tests/foundation/config/root/{test_root_paths.py → test_foundation_config_root_paths.py} +70 -3
  59. tests/foundation/config/session/{test_session.py → test_foundation_config_session.py} +31 -2
  60. tests/foundation/config/startup/{test_config_startup.py → test_foundation_config_startup.py} +91 -21
  61. tests/foundation/config/testing/{test_testing.py → test_foundation_config_testing.py} +69 -1
  62. tests/patterns/singleton/test_patterns_singleton.py +27 -0
  63. tests/services/asynchrony/{test_async_io.py → test_services_asynchrony_coroutine.py} +1 -1
  64. tests/services/environment/test_services_environment.py +93 -0
  65. tests/services/path/{test_resolver.py → test_services_resolver.py} +51 -12
  66. tests/services/standard/{test_std.py → test_services_std.py} +45 -22
  67. tests/services/system/__init__.py +0 -0
  68. tests/services/system/test_services_system_imports.py +101 -0
  69. tests/services/system/test_services_system_workers.py +89 -0
  70. tests/services/wrapper/{test_wrapper_doc_dict.py → test_services_wrapper_docdict.py} +28 -16
  71. tests/testing/test_testing_result.py +57 -20
  72. tests/testing/test_testing_unit.py +110 -41
  73. orionis/services/environment/exceptions/value_exception.py +0 -27
  74. tests/foundation/config/cache/test_cache_file.py +0 -78
  75. tests/foundation/config/cache/test_cache_stores.py +0 -88
  76. tests/foundation/config/cors/test_cors.py +0 -121
  77. tests/foundation/config/logging/test_logging.py +0 -48
  78. tests/foundation/config/mail/test_mail.py +0 -73
  79. tests/foundation/config/mail/test_mail_mailers.py +0 -58
  80. tests/foundation/config/queue/test_queue.py +0 -58
  81. tests/patterns/singleton/test_singleton.py +0 -18
  82. tests/services/environment/test_env.py +0 -155
  83. {orionis-0.286.0.dist-info → orionis-0.288.0.dist-info}/WHEEL +0 -0
  84. {orionis-0.286.0.dist-info → orionis-0.288.0.dist-info}/licenses/LICENCE +0 -0
  85. {orionis-0.286.0.dist-info → orionis-0.288.0.dist-info}/top_level.txt +0 -0
  86. {orionis-0.286.0.dist-info → orionis-0.288.0.dist-info}/zip-safe +0 -0
@@ -1,7 +1,7 @@
1
1
  orionis/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  orionis/_application.py,sha256=dMjJ0nFcIIOBGb5zr-tHNzcgTOZ1vJ7iMdFAlqSQph0,9405
3
3
  orionis/application.py,sha256=Off5uOUj-IYvvR8DcqLUoBW_98opWa7MQrtqTr0SZGc,292
4
- orionis/unittesting.py,sha256=hVUVkHOggsqXWZKBy-Ht8pcRKrvDmbh_cxpcSaguUac,2224
4
+ orionis/unittesting.py,sha256=-g3iYvdsZeuPFocjxx-z9KpzYl7CN14LvMhprY-Rm8s,2102
5
5
  orionis/_container/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
6
  orionis/_container/container.py,sha256=0AOqTNwpN_OtWbq9mBI99qfJ7LMkN71y0lP0JWKzut0,18289
7
7
  orionis/_container/container_integrity.py,sha256=vrqZrkJaP6ghbiAzr-nEul9f_lEWVa2nMUSugQXDfWk,10095
@@ -226,7 +226,7 @@ orionis/foundation/config/testing/entities/testing.py,sha256=m_i9jZlOXs_AzNKNNf0
226
226
  orionis/foundation/config/testing/enums/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
227
227
  orionis/foundation/config/testing/enums/test_mode.py,sha256=IbFpauu7J-iSAfmC8jDbmTEYl8eZr-AexL-lyOh8_74,337
228
228
  orionis/metadata/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
229
- orionis/metadata/framework.py,sha256=hem620M1oywPbB24VR9-FaMOGSc0QKz9hfuOK_ke8pA,4960
229
+ orionis/metadata/framework.py,sha256=x5OCBOB5MhrzuSEZtVFLy7Il8jOL888WhWR3pKwdJio,4960
230
230
  orionis/metadata/package.py,sha256=5p4fxjPpaktsreJ458pAl-Oi1363MWACPQvqXi_N6oA,6704
231
231
  orionis/patterns/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
232
232
  orionis/patterns/singleton/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -239,12 +239,15 @@ orionis/services/asynchrony/contracts/coroutines.py,sha256=Wuwp2k4HXAX-tQ3waVIT8
239
239
  orionis/services/asynchrony/exceptions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
240
240
  orionis/services/asynchrony/exceptions/coroutine_exception.py,sha256=sZxC6tabTcq0HUJfKmeduYoe2C_NGzTMXf3nWrnobsU,508
241
241
  orionis/services/environment/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
242
- orionis/services/environment/dot_env.py,sha256=TrsVB4_XnJ7c0z0FgSkJsHzpqnWvGwdTkhSpP65N3rQ,10115
243
- orionis/services/environment/env.py,sha256=CbD1yjGB_RqU8PnAdjr0RN5hmaFTQYby--PA7nYu8Gc,4181
242
+ orionis/services/environment/dot_env.py,sha256=ztl3juEiYmOIVIa2CLy6tNGWOtmIK5UuTlA25oP1iWI,10256
243
+ orionis/services/environment/env.py,sha256=jbELcOGNvTslgs96j3PNisEy6967SifV3rourHnnxR4,2799
244
+ orionis/services/environment/types.py,sha256=LVDe4hzt2sMaCElcQu5Z3aMAPzFf-JngQ7p4aRtdijQ,18438
244
245
  orionis/services/environment/contracts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
245
- orionis/services/environment/contracts/env.py,sha256=5g7jppzR5_ln8HlxJu2r0sSxLOkvBfSk3t4x_BKkYYk,1811
246
+ orionis/services/environment/contracts/env.py,sha256=7lezGxABAG63pEEvzAmHXgr9izBI6TCp05Trx_SRvc4,2054
247
+ orionis/services/environment/contracts/types.py,sha256=n0USxUblz0Ofbo1ef0hnGHGkuGjSiWk-SBWVPXv33mE,1994
246
248
  orionis/services/environment/exceptions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
247
- orionis/services/environment/exceptions/value_exception.py,sha256=1eUFPfldsOvLUiZztXTHSxsjM2lVh4cU7ACzsc7_cjs,1257
249
+ orionis/services/environment/exceptions/environment_value_error.py,sha256=Y3QTwzUrn0D5FqT7hI_9uCACVz473YhhoAFOx1-rcXE,627
250
+ orionis/services/environment/exceptions/environment_value_exception.py,sha256=zlxRFJwi0Yj-xFHQUvZ8X1ZlxRDDVv7Xcw-w4qCocL4,646
248
251
  orionis/services/introspection/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
249
252
  orionis/services/introspection/reflection.py,sha256=tQtE5WnmdNOpZN8BIyAnfrGHXz7wgy8YE-yaurYfIz8,7763
250
253
  orionis/services/introspection/abstracts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -274,24 +277,24 @@ orionis/services/paths/resolver.py,sha256=Qx_A95FRnnFnjko5XerfrBxOU1j-K8ym1S1J0O
274
277
  orionis/services/paths/contracts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
275
278
  orionis/services/paths/contracts/resolver.py,sha256=v7uTgByE2nQS2ZM_b1rtMzY6HH03MNKfAYQoTswPf9o,1627
276
279
  orionis/services/paths/exceptions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
277
- orionis/services/paths/exceptions/not_found_exceptions.py,sha256=pe2tnZUA5BhbdDWv84VvX3eILG0UZp89I0IY0Po5v9Y,894
278
- orionis/services/paths/exceptions/path_value_exceptions.py,sha256=kTkILRMqmOPJv3q9H8VvnWqTpCTMKpzxWt3P9pXd43E,891
280
+ orionis/services/paths/exceptions/not_found_exceptions.py,sha256=J3BXNqMjt9NFH2yYpxlE2gIeuV6es5GEgNatT5PYKXc,814
281
+ orionis/services/paths/exceptions/path_value_exceptions.py,sha256=kQnUPBjfHgRyjGfrOSFKa1DPluMFJQv-1nUe_f76lUs,879
279
282
  orionis/services/standard/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
280
- orionis/services/standard/std.py,sha256=Y86ilUyd0BKI3zAzHCFaQ6dVRWwmjFS9gFl1LYY220U,3704
283
+ orionis/services/standard/std.py,sha256=nmZh0nQecPwyB9Pk09OUGQhTnVgXGRPA4AYyybSt-W8,3701
281
284
  orionis/services/standard/contracts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
282
- orionis/services/standard/contracts/std.py,sha256=x9sVir2yg4hve56cCklIdVSr8utruIO_sUdlTNfZ1Ds,3109
285
+ orionis/services/standard/contracts/std.py,sha256=w4F0fIHIOhCPPiBgTLIIWR9EFdjeTjLsDktiLaUgmj8,3108
283
286
  orionis/services/standard/exceptions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
284
- orionis/services/standard/exceptions/path_value_exceptions.py,sha256=sE_zCweo5zzx9UCdo0QYtxiX7IB2AvVAXXS4TPlzcL8,895
287
+ orionis/services/standard/exceptions/std_value_exception.py,sha256=PPrh58fyaARULFo7NUn36oLWF3ac3N5Bkc2pCHKpQVc,681
285
288
  orionis/services/system/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
286
- orionis/services/system/imports.py,sha256=mp8TB-s4gxLQRvl06Tr8XkiWvAPz6OFLZwx-HbcZgnw,4639
287
- orionis/services/system/runtime_imports.py,sha256=Ry4sVoQvFm39IyYedZNVyNuCeTRftTWSvFLNrPzfIgE,2366
288
- orionis/services/system/workers.py,sha256=V6Ab9DV3B_0m-ak26ebr1XGMxqJBs59N8UEGgR-nf2c,1365
289
+ orionis/services/system/imports.py,sha256=5j2Rkf6vMLnCQjqcox4-0y0tZoxgPfv7EP8eruG7vnA,4990
290
+ orionis/services/system/runtime_imports.py,sha256=eWp_MmrvxWHl-lsNO0M5FC9OsCcY1BXsiJTlPk0cfRU,2550
291
+ orionis/services/system/workers.py,sha256=VB0BBrx3ks0vqc0-aPLQj2VK4cO7s_44YhJOKYN-z34,1343
289
292
  orionis/services/system/contracts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
290
- orionis/services/system/contracts/imports.py,sha256=DMGb9RPYp3QfVhdA69gP9Jha4gEMrH0dJJYaZaChh1I,796
291
- orionis/services/system/contracts/workers.py,sha256=X3fs0UHIe16G9V9cYQN75qAcZWydVoztv6VCXciMM4w,506
293
+ orionis/services/system/contracts/imports.py,sha256=nE2fDS2bDbwltHCmzOsEMhUymYy092zoGX-NOXLE4J4,1167
294
+ orionis/services/system/contracts/workers.py,sha256=aZfQlij6mkPM2TcodDai7JYpTFNKL4YFAEj8Bd9Y4nw,707
292
295
  orionis/services/wrapper/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
293
296
  orionis/services/wrapper/dicts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
294
- orionis/services/wrapper/dicts/dot_dict.py,sha256=fOJTSiYsbNunF7GwGsdaR-C4hV2q4NJeJNrKVB6aQY0,4698
297
+ orionis/services/wrapper/dicts/dot_dict.py,sha256=VdAUH-DO6y86pl_9N6v-vU9mdLraWh5HjVzI5iC1dMs,5295
295
298
  orionis/support/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
296
299
  orionis/support/introspection/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
297
300
  orionis/support/introspection/container_integrity.py,sha256=vrqZrkJaP6ghbiAzr-nEul9f_lEWVa2nMUSugQXDfWk,10095
@@ -333,7 +336,7 @@ orionis/test/exceptions/test_persistence_error.py,sha256=QJ2hdVAl6ngZEko0mSavU7n
333
336
  orionis/test/exceptions/test_runtime_error.py,sha256=QahR7qHhvzR1I8CS-qWsxL_c0lSzWWE1rCiwf47YRQc,523
334
337
  orionis/test/exceptions/test_value_error.py,sha256=XZmxiZmmMoYoh8O4V97GLB-Ooh-IRVagKW9bWPvtoeo,533
335
338
  orionis/test/logs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
336
- orionis/test/logs/history.py,sha256=YxWcY8hJK2eRk8BxBKti8WpWZSvv6g_uwHKAEPGZJAY,13230
339
+ orionis/test/logs/history.py,sha256=YqoAQSYyEo9PQSbB7TsHZy3SLKrwLsgyiKu7t2M7ztc,13149
337
340
  orionis/test/logs/contracts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
338
341
  orionis/test/logs/contracts/history.py,sha256=v3vjWmvn73DF_C8Ur-aWdHUMrztX584mXKwYgsYQgCE,1435
339
342
  orionis/test/output/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -348,71 +351,71 @@ orionis/test/suites/contracts/test_suite.py,sha256=eluzYwkNBbKjxYStj_tHN_Fm3YDPp
348
351
  orionis/test/suites/contracts/test_unit.py,sha256=l1LQllODyvcSByXMl1lGrUkoLsXbBHZZLWZI4A-mlQg,5881
349
352
  orionis/test/view/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
350
353
  orionis/test/view/index.html,sha256=U4XYO4hA-mAJCK1gcVRgIysmISK3g3Vgi2ntLofFAhE,6592
351
- orionis-0.286.0.dist-info/licenses/LICENCE,sha256=-_4cF2EBKuYVS_SQpy1uapq0oJPUU1vl_RUWSy2jJTo,1111
354
+ orionis-0.288.0.dist-info/licenses/LICENCE,sha256=-_4cF2EBKuYVS_SQpy1uapq0oJPUU1vl_RUWSy2jJTo,1111
352
355
  tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
353
356
  tests/example/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
354
- tests/example/test_example.py,sha256=DUZU6lWVFsyHtBEXx0cBxMrSCpOtAOL3PUoi9-tXAas,583
357
+ tests/example/test_example.py,sha256=byd_lI6tVDgGPEIrr7PLZbBu0UoZOymmdmyA_4u-QUw,601
355
358
  tests/foundation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
356
359
  tests/foundation/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
357
360
  tests/foundation/config/app/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
358
- tests/foundation/config/app/test_app.py,sha256=-Y-QDDKQYe9B2CEqlpoMBq306dYU_vYq1VaeGgEe03o,5440
361
+ tests/foundation/config/app/test_foundation_config_app.py,sha256=Ox1maeA-raoVySOm6MIxJ5u6g-u2op88Z-mN5cEccMs,5565
359
362
  tests/foundation/config/auth/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
360
- tests/foundation/config/auth/test_auth.py,sha256=AktCA4V2OFKMi5TBn7SI0PRkkOUkzTrz3rBwP3kU6Cs,898
363
+ tests/foundation/config/auth/test_foundation_config_auth.py,sha256=fCla7tvlCPcDMVBQmsuHs8vmFoW-zv5SQipE2Nnvchw,1026
361
364
  tests/foundation/config/cache/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
362
- tests/foundation/config/cache/test_cache.py,sha256=11llD3Vqdu1F3L5RWVVgp8bsVUo0DIgAIRcnhlIDw-I,3950
363
- tests/foundation/config/cache/test_cache_file.py,sha256=_ZjSxYdh6ZnPKC5y0q7RewxYrLPLkp0FnYTqwA0Eckw,3030
364
- tests/foundation/config/cache/test_cache_stores.py,sha256=TYfWOooHapSNj2h5Ys897d1GbmiLnyWSRrd4G62eSIU,3445
365
+ tests/foundation/config/cache/test_foundation_config_cache.py,sha256=Skf2DYQBIzBZTBpIoQ4ZnaGzuobh1wGw78-rf2StUQA,4638
366
+ tests/foundation/config/cache/test_foundation_config_cache_file.py,sha256=QdX1Ox2I8ESlpzfqjnbcboyk4QoYH_w4BKTTAAATrtA,3659
367
+ tests/foundation/config/cache/test_foundation_config_cache_stores.py,sha256=xQK2uByPxivrim-68p4jzzFi8u-syvr6S3VHnUYWLKM,4569
365
368
  tests/foundation/config/cors/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
366
- tests/foundation/config/cors/test_cors.py,sha256=-1h8u3YJgXvVjifvLvUs_ne_vB5lqQnRRBTfzqoXq0I,5473
369
+ tests/foundation/config/cors/test_foundation_config_cors.py,sha256=8_R6jhBzLPDbF4X74wYg0jODDSqPgz9QZpKLAZsZdqg,6706
367
370
  tests/foundation/config/database/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
368
- tests/foundation/config/database/test_database.py,sha256=tXxpO3lNa2mNcZTItEkjkwAnlRgHrYuHVBakAPfr4zg,4131
369
- tests/foundation/config/database/test_database_connections.py,sha256=fY6iXHueSGvfrYduzpNUqPVIGaLsDF3KUTwiVyHjpf4,5525
370
- tests/foundation/config/database/test_database_mysql.py,sha256=6Wfq-rmFFZTDgTSyLcwVOuy1zUuVZkQGqI-q0dmQw5o,9408
371
- tests/foundation/config/database/test_database_oracle.py,sha256=9ewSAdUjDwnvhRHM00vGagEkDQCv94K0TvCQlEYvhwQ,8505
372
- tests/foundation/config/database/test_database_pgsql.py,sha256=wMRnzYZ8QXoV-HPDt1A9fLPOy3t2zjmBnk_Xl8DO6IE,7539
373
- tests/foundation/config/database/test_database_sqlite.py,sha256=FGIKAjb4iunOE64FbGib6fOOgadhc2oz1pWGWGp1-_o,6597
371
+ tests/foundation/config/database/test_foundation_config_database.py,sha256=fHBOwSUAPgGQRfXuNkO5Bzl3ELVoDHGeF10OSJI-pg8,4831
372
+ tests/foundation/config/database/test_foundation_config_database_connections.py,sha256=YiMPTgfDN0Z1y9qv2o5ZQSSVi0uysC7c_LCnw4jnwWg,6962
373
+ tests/foundation/config/database/test_foundation_config_database_mysql.py,sha256=GzW1MFtNVSFBEp4Ykgircy77WdTCIA3XrzAa4pku7jw,12417
374
+ tests/foundation/config/database/test_foundation_config_database_oracle.py,sha256=-aS6b0p7sxEvHuAXKJhI_gpBEUb0iJBtp54pbLMdExQ,10398
375
+ tests/foundation/config/database/test_foundation_config_database_pgsql.py,sha256=92QWIbP0Q63dJXLn9bu3ZRS1gG5sgX1SDMisfVTGkq0,8516
376
+ tests/foundation/config/database/test_foundation_config_database_sqlite.py,sha256=G0fPV-Gxq2oRBqg96kitzP1mlAgU4ASLypqqQPTLGrY,7347
374
377
  tests/foundation/config/exceptions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
375
- tests/foundation/config/exceptions/test_exceptions_integrity.py,sha256=sTYEttDit0K2-SFKEvzGzoDYBaYp048JiOtmZ1DTTEs,3640
378
+ tests/foundation/config/exceptions/test_foundation_config_exceptions.py,sha256=c5XI-r6Uem5V_8ggU5xHoYw3-7WIHGy9tJsPzfrmPio,4263
376
379
  tests/foundation/config/filesystems/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
377
- tests/foundation/config/filesystems/test_filesystems.py,sha256=z_rdFgCxsDV94zeiOTMk0mONK1XtxhjkKrMFc5AsnGg,3980
378
- tests/foundation/config/filesystems/test_filesystems_aws.py,sha256=F1lDXkpxv0SSB9vRCbB-4nhw2zLe3NEtY33F9FopZO4,5009
379
- tests/foundation/config/filesystems/test_filesystems_disks.py,sha256=Dac5wof8V5zg0xPkHSk_MS06bLPi-zqPkduVewt6OkA,4559
380
- tests/foundation/config/filesystems/test_filesystems_local.py,sha256=Ay-U-LzYQQBL-vL9492n0EbwukHJsz2rshgPjIHUt0Y,3687
381
- tests/foundation/config/filesystems/test_filesystems_public.py,sha256=ndkurdQjSljOwZHbgir5L-Km1rp-SjLscxoPcA0nWQw,4606
380
+ tests/foundation/config/filesystems/test_foundation_config_filesystems.py,sha256=8-nI1vHp8ihRedoL4dFtwYwgGaLmsM7v4FtzS-I8BoQ,5263
381
+ tests/foundation/config/filesystems/test_foundation_config_filesystems_aws.py,sha256=_8LhJR-kEx6gOV-7dKvPiwzNiomP_5mTsEpQI2JCtCA,5882
382
+ tests/foundation/config/filesystems/test_foundation_config_filesystems_disks.py,sha256=S_iTIODAOgdy9BTL3q7_6iLvxKP69J8dX5WJivTRMvc,6459
383
+ tests/foundation/config/filesystems/test_foundation_config_filesystems_local.py,sha256=NuOUWdHA7L0zMwGsxmdAXBDJDWtHr2H1C_AYFHQZvN0,4281
384
+ tests/foundation/config/filesystems/test_foundation_config_filesystems_public.py,sha256=GJlVOKzAmoiDAfh2QjwAUYOJD1iiBaU3UmK0se0ESLU,5885
382
385
  tests/foundation/config/logging/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
383
- tests/foundation/config/logging/test_logging.py,sha256=uB3MIsZmQUf8q1CBKGnxPxWUuKc3qNfRSO8NcuQDVEM,1968
384
- tests/foundation/config/logging/test_logging_channels.py,sha256=QljhmjxRGiI1eDKDjMulC41cG5Oysq-e-whn4SdzOh8,6480
385
- tests/foundation/config/logging/test_logging_chunked.py,sha256=mQN8wnHFlUCn7OQal3ntYC6Kfx47ur01cech4ZhRU2Q,6092
386
- tests/foundation/config/logging/test_logging_daily.py,sha256=wOjoUH1mqHchb4wJ-CJsg2rs6-4Xm0IL0CO3GeMKTVM,5610
387
- tests/foundation/config/logging/test_logging_hourly.py,sha256=HCsKz_LJfdkzc8m3VkQntBgFRW9hVr0tx0Ni-fQ34j0,4995
388
- tests/foundation/config/logging/test_logging_monthly.py,sha256=GeqYL_tV06Zp6y1CGkf7pM_HNP7D3fwLpl2NlLYG6C0,5072
389
- tests/foundation/config/logging/test_logging_stack.py,sha256=_KTBqpD1xNuS_B-qofNemRK51zT5wJTQcQk7QtLP-b0,4498
390
- tests/foundation/config/logging/test_logging_weekly.py,sha256=3S2vnkz3ZxwqMxhJgu5FvUAZQkTS-SLNDJuj8Zq23nE,4990
386
+ tests/foundation/config/logging/test_foundation_config_logging.py,sha256=KXNiUR19ALMuS2parSICNZ4BAw2sbswOzJdPrX8Deqw,3168
387
+ tests/foundation/config/logging/test_foundation_config_logging_channels.py,sha256=1S438g7MlQs9_CgPoFvHOvIpFKPZXE5cZXpmEwZYLvA,8975
388
+ tests/foundation/config/logging/test_foundation_config_logging_chunked.py,sha256=2oooHUObfp93WeHmtCyo8go8y_O8U_dMOzbtX8kIfqY,7823
389
+ tests/foundation/config/logging/test_foundation_config_logging_daily.py,sha256=1SNqXhDzioYTDLp8M6Rc91MNnxLRgSoHLezt-FA-aw8,7101
390
+ tests/foundation/config/logging/test_foundation_config_logging_hourly.py,sha256=cMgsq6Vfyw6JFOw5aD_arat5rXTf8-lT1qC9Q88tf6M,6814
391
+ tests/foundation/config/logging/test_foundation_config_logging_monthly.py,sha256=AoD72XYU4QG2sDbSjju8_CGOYWxFvNKnED3dKivnSdg,6424
392
+ tests/foundation/config/logging/test_foundation_config_logging_stack.py,sha256=IX90bMtTqqqjRbSbhKyuhrxEhUaCTbFwbv9TE5grX4U,5492
393
+ tests/foundation/config/logging/test_foundation_config_logging_weekly.py,sha256=Gzq9iJ1HJsPijOtFMayh90JD-mlbde94b5skEF3tGEc,7620
391
394
  tests/foundation/config/mail/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
392
- tests/foundation/config/mail/test_mail.py,sha256=MkWHn-2Z4xHA7BcKnv8c5FNezLcXFUa-8NFTwx-OA2Y,2923
393
- tests/foundation/config/mail/test_mail_file.py,sha256=b12BA7gIlos3yd3Y5uNFEgVpgVvIGelo1Q8nnJP2bFI,2328
394
- tests/foundation/config/mail/test_mail_mailers.py,sha256=F66RxB0qon3IeAnIB8-3m7hF9stlwUR7tknsfmE6GUQ,2401
395
- tests/foundation/config/mail/test_mail_smtp.py,sha256=x90aR1_4clRE4BXZKF9o0otoxCrlZTKpkwF1GeEZlzM,4161
395
+ tests/foundation/config/mail/test_foundation_config_mail.py,sha256=j4bLQ1GoAf49PG2yBMytPXBcZq8Q70Ncq48bi2PXZ6A,4194
396
+ tests/foundation/config/mail/test_foundation_config_mail_file.py,sha256=XF0elaHm92p-nKZjlkyn9bFCL39Xkcg173U6mBoEhTc,3008
397
+ tests/foundation/config/mail/test_foundation_config_mail_mailers.py,sha256=UwrBvrum8XKyZY2iCW80eGZu8uqXozTocMyOzbCFw5w,3412
398
+ tests/foundation/config/mail/test_foundation_config_mail_smtp.py,sha256=ZLezMnDcNmQsryc20t_Fj-ARhh1jmTUax8zilRs7uDg,4868
396
399
  tests/foundation/config/queue/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
397
- tests/foundation/config/queue/test_queue.py,sha256=GeRI9VuUObaY1neq0jO6iOPXMObgFm_UAJVBV6Pf_z8,2388
398
- tests/foundation/config/queue/test_queue_brokers.py,sha256=rMO9TGX5YRVMWntytPupwRsBxeOj_UxkcT7YJqGknPM,2721
399
- tests/foundation/config/queue/test_queue_database.py,sha256=VdF0kZ3OjxwRTXKzYdE8IATFNZZzOV7oXB0rEGticiY,4176
400
+ tests/foundation/config/queue/test_foundation_config_queue.py,sha256=5TJ5HGL2BkV2-nEinrfnNl-0lOmduJuuXoyAcI7ZLB4,3456
401
+ tests/foundation/config/queue/test_foundation_config_queue_brokers.py,sha256=-Goaw-ClfuctV7q_vQnG0lO4wdQ5r1zhFi5Hclp2Lcg,3036
402
+ tests/foundation/config/queue/test_foundation_config_queue_database.py,sha256=XbKEOr0D8oGb54wY_a4WtYEseJ8XS92L2JrhFZ77OwM,4813
400
403
  tests/foundation/config/root/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
401
- tests/foundation/config/root/test_root_paths.py,sha256=7Z-RqkNwXSMEG8WPD2is-G45ujCTHhgWibFQ-LpRamM,5405
404
+ tests/foundation/config/root/test_foundation_config_root_paths.py,sha256=tukqa_PlUoeVLiQ_imTjXWuogbrjyDgPJmt5Q9WZHO8,7097
402
405
  tests/foundation/config/session/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
403
- tests/foundation/config/session/test_session.py,sha256=dvw7hPmLOWJmxVet4_sllqbAQcBmIUnMQ8WE_fy7iSc,6051
406
+ tests/foundation/config/session/test_foundation_config_session.py,sha256=oQTF22QW39jEqVtO7L83fCu-bClRN79crUoUTNa6-mE,6385
404
407
  tests/foundation/config/startup/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
405
- tests/foundation/config/startup/test_config_startup.py,sha256=n0O-8dpHPbk0ytARSQ8vlWvscayPUgYlQE9GVKxmY_c,5374
408
+ tests/foundation/config/startup/test_foundation_config_startup.py,sha256=xD5wuPAFsQMAuRACgK_O5wowPLZY-uftXNgxtFjnP7o,6776
406
409
  tests/foundation/config/testing/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
407
- tests/foundation/config/testing/test_testing.py,sha256=Mbqz0LNSDVb2HbaF9-mti0brVQjUttSXsrIaoitKTcU,6140
410
+ tests/foundation/config/testing/test_foundation_config_testing.py,sha256=AuR-h2974Hkdpo4iCkYOJyr8kydmDGN6G2wbVOYcqGM,8216
408
411
  tests/patterns/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
409
412
  tests/patterns/singleton/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
410
- tests/patterns/singleton/test_singleton.py,sha256=eShiB9gD7J9p0DQw0qjtU5rQXfHxw7zkGds-1EC4d_o,609
413
+ tests/patterns/singleton/test_patterns_singleton.py,sha256=DCvc-3nmsrM1xJr9WGeFZHyB-IVUVVGhfjvkly2E8rU,951
411
414
  tests/services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
412
415
  tests/services/asynchrony/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
413
- tests/services/asynchrony/test_async_io.py,sha256=RnsL7S5rNaijMK8aUJCzZvfha9pqAqxsqxd32x03r7E,1638
416
+ tests/services/asynchrony/test_services_asynchrony_coroutine.py,sha256=azlDv29Q9WAPI82Kms4yaWhxecA7Y52LJMPqOs_BTPE,1657
414
417
  tests/services/environment/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
415
- tests/services/environment/test_env.py,sha256=Fg4NejwmTdTTj4FezrWkJc639CzodGEgmdFa4EPlmqk,7084
418
+ tests/services/environment/test_services_environment.py,sha256=fdkjwbY-aDEA1FT-9vBT5ihwaCdg_-UgAx--kQXFPGA,3745
416
419
  tests/services/inspection/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
417
420
  tests/services/inspection/dependencies/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
418
421
  tests/services/inspection/dependencies/test_reflect_dependencies.py,sha256=z0C9KkhV27Y7jKpLSCN9XCmHbjJDCPbBb7NkRFs3oMI,5803
@@ -425,11 +428,14 @@ tests/services/parsers/test_exception_parser.py,sha256=zk9h16FDJb5OopcTzqcHMH9ZT
425
428
  tests/services/parsers/mocks/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
426
429
  tests/services/parsers/mocks/mock_custom_error.py,sha256=W4rrnK0S5wGDNRyN0hNFuGmUfOpRS2iJBTv6nxOjPiQ,518
427
430
  tests/services/path/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
428
- tests/services/path/test_resolver.py,sha256=0fnxGkqN4X6zXBBPJI-3S0n0zbMAtyHouORYweqJwGw,3113
431
+ tests/services/path/test_services_resolver.py,sha256=ny6vyx_psF9iWXyMhqI95SJs84_dD1NIOXt0k1MfBQA,3902
429
432
  tests/services/standard/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
430
- tests/services/standard/test_std.py,sha256=WCD07N1IvKT7oj68J6rcTADpZGayEFSz-8feYsKX7Jg,5166
433
+ tests/services/standard/test_services_std.py,sha256=ChEUcUNSSrKEaLczoDGphHlUhTnaXknzMBMVLNRgbG0,5518
434
+ tests/services/system/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
435
+ tests/services/system/test_services_system_imports.py,sha256=dqNFspZCVHIupSV9u7mGCUlyJImmExURp-p0PhwpvRI,2945
436
+ tests/services/system/test_services_system_workers.py,sha256=g9Nq0V-xmrLAl089Nz3t7xEjeSJxNaplAt_KgzMqJ5o,3002
431
437
  tests/services/wrapper/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
432
- tests/services/wrapper/test_wrapper_doc_dict.py,sha256=MHs6ZCZ45QdXnT5XoaJL0nL_2kqAsTjaYY2jwcuTYdE,4933
438
+ tests/services/wrapper/test_services_wrapper_docdict.py,sha256=EhV6uIp0OX5t1YZjVAtZlASMgm576CQjwNHVhrvxU1w,4986
433
439
  tests/support/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
434
440
  tests/support/inspection/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
435
441
  tests/support/inspection/test_reflect_abstract.py,sha256=CkQP2neysJGaQuskvsHCnBurlogFF5hH0AR1EGpP9BE,13448
@@ -444,10 +450,10 @@ tests/support/inspection/fakes/fake_reflection_concrete.py,sha256=j6gzsxE3xq5oJ3
444
450
  tests/support/inspection/fakes/fake_reflection_concrete_with_abstract.py,sha256=ibCjrtNM6BMf5Z5VMvat7E6zOAk5g9z--gj4ykKJWY8,2118
445
451
  tests/support/inspection/fakes/fake_reflection_instance_with_abstract.py,sha256=SfL8FuFmr650RlzXTrP4tGMfsPVZLhOxVnBXu_g1POg,1471
446
452
  tests/testing/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
447
- tests/testing/test_testing_result.py,sha256=54QDn6_v9feIcDcA6LPXcvYhlt_X8JqLGTYWS9XjKXM,3029
448
- tests/testing/test_testing_unit.py,sha256=MeVL4gc4cGRPXdVOOKJx6JPKducrZ8cN7F52Iiciixg,5443
449
- orionis-0.286.0.dist-info/METADATA,sha256=61sqFJQCRpZca6cWFMWps-lXByNSaGviR-T8kFJ2mIU,4772
450
- orionis-0.286.0.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
451
- orionis-0.286.0.dist-info/top_level.txt,sha256=2bdoHgyGZhOtLAXS6Om8OCTmL24dUMC_L1quMe_ETbk,14
452
- orionis-0.286.0.dist-info/zip-safe,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
453
- orionis-0.286.0.dist-info/RECORD,,
453
+ tests/testing/test_testing_result.py,sha256=MrGK3ZimedL0b5Ydu69Dg8Iul017AzLTm7VPxpXlpfU,4315
454
+ tests/testing/test_testing_unit.py,sha256=A6QkiOkP7GPC1Szh_GqsrV7GxjWjK8cIwFez6YfrzmM,7683
455
+ orionis-0.288.0.dist-info/METADATA,sha256=43ady3vDJBtIQQa48YPKjdDYp_OjIKPS__6uSiUtdQ8,4772
456
+ orionis-0.288.0.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
457
+ orionis-0.288.0.dist-info/top_level.txt,sha256=2bdoHgyGZhOtLAXS6Om8OCTmL24dUMC_L1quMe_ETbk,14
458
+ orionis-0.288.0.dist-info/zip-safe,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
459
+ orionis-0.288.0.dist-info/RECORD,,
@@ -16,5 +16,8 @@ class TestExample(TestCase):
16
16
  2 == 2 : bool
17
17
  Ensures that the integer 2 is equal to itself.
18
18
  """
19
- self.assertEqual(1, 1) # Check if 1 equals 1
20
- self.assertEqual(2, 2) # Check if 2 equals 2
19
+ # Check if 1 equals 1
20
+ self.assertEqual(1, 1)
21
+
22
+ # Check if 2 equals 2
23
+ self.assertEqual(2, 2)
@@ -4,15 +4,14 @@ from orionis.foundation.config.app.enums.environments import Environments
4
4
  from orionis.foundation.config.exceptions.integrity import OrionisIntegrityException
5
5
  from orionis.unittesting import TestCase
6
6
 
7
- class TestConfigApp(TestCase):
8
- """
9
- Test cases for the App configuration class.
10
- """
7
+ class TestFoundationConfigApp(TestCase):
11
8
 
12
9
  async def testDefaultValues(self):
13
10
  """
14
11
  Test that the App instance is created with the correct default values.
15
12
 
13
+ Notes
14
+ -----
16
15
  Verifies that all default values match the expected defaults from the class definition.
17
16
  """
18
17
  app = App()
@@ -32,6 +31,8 @@ class TestConfigApp(TestCase):
32
31
  """
33
32
  Test that the environment attribute is properly validated and converted.
34
33
 
34
+ Notes
35
+ -----
35
36
  Verifies that string environments are converted to enum values and invalid environments raise exceptions.
36
37
  """
37
38
  # Test valid string environment
@@ -50,6 +51,8 @@ class TestConfigApp(TestCase):
50
51
  """
51
52
  Test that the cipher attribute is properly validated and converted.
52
53
 
54
+ Notes
55
+ -----
53
56
  Verifies that string ciphers are converted to enum values and invalid ciphers raise exceptions.
54
57
  """
55
58
  # Test valid string cipher
@@ -68,6 +71,8 @@ class TestConfigApp(TestCase):
68
71
  """
69
72
  Test that type validation works correctly for all attributes.
70
73
 
74
+ Notes
75
+ -----
71
76
  Verifies that invalid types for each attribute raise OrionisIntegrityException.
72
77
  """
73
78
  # Test invalid name type
@@ -98,6 +103,8 @@ class TestConfigApp(TestCase):
98
103
  """
99
104
  Test that the toDict method returns a proper dictionary representation.
100
105
 
106
+ Notes
107
+ -----
101
108
  Verifies that the returned dictionary contains all expected keys and values.
102
109
  """
103
110
  app = App()
@@ -119,6 +126,9 @@ class TestConfigApp(TestCase):
119
126
  async def testNonEmptyStringValidation(self):
120
127
  """
121
128
  Test that empty strings are rejected for attributes requiring non-empty strings.
129
+
130
+ Notes
131
+ -----
122
132
  Verifies that attributes requiring non-empty strings raise exceptions when empty strings are provided.
123
133
  """
124
134
  with self.assertRaises(OrionisIntegrityException):
@@ -1,20 +1,25 @@
1
-
2
1
  from orionis.foundation.config.auth.entities.auth import Auth
3
2
  from orionis.unittesting import TestCase
4
3
 
5
- class TestConfigApp(TestCase):
4
+ class TestFoundationConfigAuth(TestCase):
6
5
  """
7
6
  Test suite for verifying the behavior of the Auth configuration within the application.
7
+
8
8
  This class contains asynchronous test cases to ensure that the Auth object
9
9
  correctly handles the assignment and retrieval of new attribute values.
10
10
  """
11
11
 
12
12
  async def testNewValue(self):
13
13
  """
14
- Test that the default name of the App instance is 'Orionis Application'.
14
+ Test assignment and retrieval of new attribute values in Auth.
15
+
16
+ This test creates a new Auth object and assigns values to new attributes.
17
+ It then asserts that these attributes hold the expected values.
15
18
 
16
- This test creates a new App object and asserts that its 'name' attribute
17
- is set to the expected default value.
19
+ Returns
20
+ -------
21
+ None
22
+ This method does not return a value.
18
23
  """
19
24
  auth = Auth()
20
25
  auth.new_value = 'new_value'
@@ -4,15 +4,25 @@ from orionis.foundation.config.cache.enums.drivers import Drivers
4
4
  from orionis.foundation.config.exceptions.integrity import OrionisIntegrityException
5
5
  from orionis.foundation.config.cache.entities.stores import Stores
6
6
 
7
- class TestConfigCache(TestCase):
7
+ class TestFoundationConfigCache(TestCase):
8
8
  """
9
- Test cases for the Cache configuration class.
9
+ Test suite for the Cache configuration entity.
10
+
11
+ This class contains asynchronous unit tests for the Cache entity,
12
+ validating default values, driver validation, type checking,
13
+ dictionary conversion, and Stores instance validation.
10
14
  """
11
15
 
12
16
  async def testDefaultValues(self):
13
17
  """
14
18
  Test that the Cache instance is created with the correct default values.
15
- Verifies that default values match the expected defaults from the class definition.
19
+
20
+ Ensures that the default values of the Cache instance match the expected
21
+ defaults from the class definition.
22
+
23
+ Returns
24
+ -------
25
+ None
16
26
  """
17
27
  cache = Cache()
18
28
  self.assertEqual(cache.default, Drivers.MEMORY.value)
@@ -20,22 +30,33 @@ class TestConfigCache(TestCase):
20
30
 
21
31
  async def testDriverValidation(self):
22
32
  """
23
- Test that the default driver attribute is properly validated and converted.
24
- Verifies that string drivers are converted to enum values and invalid drivers raise exceptions.
33
+ Test validation and conversion of the default driver attribute.
34
+
35
+ Verifies that string drivers are converted to enum values and that
36
+ invalid drivers raise exceptions.
37
+
38
+ Returns
39
+ -------
40
+ None
25
41
  """
26
42
  # Test valid string driver
27
43
  cache = Cache(default="FILE")
28
44
  self.assertEqual(cache.default, Drivers.FILE.value)
29
45
 
30
-
31
46
  # Test invalid driver
32
47
  with self.assertRaises(OrionisIntegrityException):
33
48
  Cache(default="INVALID_DRIVER")
34
49
 
35
50
  async def testDriverCaseInsensitivity(self):
36
51
  """
37
- Test that driver names are case-insensitive when provided as strings.
38
- Verifies that different case variations of driver names are properly normalized.
52
+ Test case insensitivity of driver names provided as strings.
53
+
54
+ Ensures that different case variations of driver names are properly
55
+ normalized to the correct enum value.
56
+
57
+ Returns
58
+ -------
59
+ None
39
60
  """
40
61
  # Test lowercase
41
62
  cache = Cache(default="file")
@@ -51,8 +72,14 @@ class TestConfigCache(TestCase):
51
72
 
52
73
  async def testTypeValidation(self):
53
74
  """
54
- Test that type validation works correctly for all attributes.
55
- Verifies that invalid types for each attribute raise OrionisIntegrityException.
75
+ Test type validation for all attributes.
76
+
77
+ Ensures that invalid types for each attribute raise
78
+ OrionisIntegrityException.
79
+
80
+ Returns
81
+ -------
82
+ None
56
83
  """
57
84
  # Test invalid default type
58
85
  with self.assertRaises(OrionisIntegrityException):
@@ -64,8 +91,14 @@ class TestConfigCache(TestCase):
64
91
 
65
92
  async def testToDictMethod(self):
66
93
  """
67
- Test that the toDict method returns a proper dictionary representation.
68
- Verifies that the returned dictionary contains all expected keys and values.
94
+ Test the toDict method for dictionary representation.
95
+
96
+ Ensures that the toDict method returns a dictionary containing all
97
+ expected keys and values.
98
+
99
+ Returns
100
+ -------
101
+ None
69
102
  """
70
103
  cache = Cache()
71
104
  cache_dict = cache.toDict()
@@ -76,8 +109,14 @@ class TestConfigCache(TestCase):
76
109
 
77
110
  async def testStoresInstanceValidation(self):
78
111
  """
79
- Test that stores attribute must be an instance of Stores class.
80
- Verifies that only Stores instances are accepted for the stores attribute.
112
+ Test that the stores attribute must be an instance of Stores.
113
+
114
+ Ensures that only Stores instances are accepted for the stores
115
+ attribute and invalid types raise exceptions.
116
+
117
+ Returns
118
+ -------
119
+ None
81
120
  """
82
121
  # Test with proper Stores instance
83
122
  stores = Stores() # Assuming Stores has a default constructor
@@ -90,8 +129,14 @@ class TestConfigCache(TestCase):
90
129
 
91
130
  async def testDriverEnumConversion(self):
92
131
  """
93
- Test that Drivers enum values are properly converted to their string representations.
94
- Verifies that enum members are converted to their value representations.
132
+ Test conversion of Drivers enum values to string representations.
133
+
134
+ Ensures that enum members are converted to their value representations
135
+ when used as the default driver.
136
+
137
+ Returns
138
+ -------
139
+ None
95
140
  """
96
141
  # Test with enum member
97
142
  cache = Cache(default=Drivers.MEMORY)
@@ -0,0 +1,126 @@
1
+ from orionis.foundation.config.cache.entities.file import File
2
+ from orionis.foundation.config.exceptions.integrity import OrionisIntegrityException
3
+ from orionis.unittesting import TestCase
4
+
5
+ class TestFoundationConfigCacheFile(TestCase):
6
+ """
7
+ Test cases for the File cache configuration entity.
8
+
9
+ This class contains unit tests for the `File` cache configuration entity,
10
+ validating its initialization, path handling, and dictionary representation.
11
+ """
12
+
13
+ async def testDefaultPath(self):
14
+ """
15
+ Test default path initialization.
16
+
17
+ Ensures that a `File` instance is created with the correct default path.
18
+
19
+ Returns
20
+ -------
21
+ None
22
+ """
23
+ file_config = File()
24
+ self.assertEqual(file_config.path, 'storage/framework/cache/data')
25
+
26
+ async def testCustomPath(self):
27
+ """
28
+ Test custom path initialization.
29
+
30
+ Ensures that a custom path can be set during initialization and is stored correctly.
31
+
32
+ Returns
33
+ -------
34
+ None
35
+ """
36
+ custom_path = 'custom/cache/path'
37
+ file_config = File(path=custom_path)
38
+ self.assertEqual(file_config.path, custom_path)
39
+
40
+ async def testEmptyPathValidation(self):
41
+ """
42
+ Test validation for empty path.
43
+
44
+ Ensures that providing an empty path raises an `OrionisIntegrityException`.
45
+
46
+ Returns
47
+ -------
48
+ None
49
+
50
+ Raises
51
+ ------
52
+ OrionisIntegrityException
53
+ If the path is empty.
54
+ """
55
+ with self.assertRaises(OrionisIntegrityException):
56
+ File(path="")
57
+
58
+ async def testPathTypeValidation(self):
59
+ """
60
+ Test validation for path type.
61
+
62
+ Ensures that non-string path values raise an `OrionisIntegrityException`.
63
+
64
+ Returns
65
+ -------
66
+ None
67
+
68
+ Raises
69
+ ------
70
+ OrionisIntegrityException
71
+ If the path is not a string.
72
+ """
73
+ with self.assertRaises(OrionisIntegrityException):
74
+ File(path=123)
75
+
76
+ with self.assertRaises(OrionisIntegrityException):
77
+ File(path=None)
78
+
79
+ with self.assertRaises(OrionisIntegrityException):
80
+ File(path=[])
81
+
82
+ async def testToDictMethod(self):
83
+ """
84
+ Test dictionary representation.
85
+
86
+ Ensures that the `toDict` method returns a dictionary with the expected path value.
87
+
88
+ Returns
89
+ -------
90
+ None
91
+ """
92
+ file_config = File()
93
+ config_dict = file_config.toDict()
94
+
95
+ self.assertIsInstance(config_dict, dict)
96
+ self.assertEqual(config_dict['path'], 'storage/framework/cache/data')
97
+
98
+ async def testCustomPathToDict(self):
99
+ """
100
+ Test custom path in dictionary representation.
101
+
102
+ Ensures that custom paths are properly included in the dictionary returned by `toDict`.
103
+
104
+ Returns
105
+ -------
106
+ None
107
+ """
108
+ custom_path = 'another/cache/location'
109
+ file_config = File(path=custom_path)
110
+ config_dict = file_config.toDict()
111
+
112
+ self.assertEqual(config_dict['path'], custom_path)
113
+
114
+ async def testWhitespacePathHandling(self):
115
+ """
116
+ Test handling of paths with whitespace.
117
+
118
+ Ensures that paths containing whitespace are accepted and not automatically trimmed.
119
+
120
+ Returns
121
+ -------
122
+ None
123
+ """
124
+ spaced_path = ' storage/cache/with/space '
125
+ file_config = File(path=spaced_path)
126
+ self.assertEqual(file_config.path, spaced_path)