orionis 0.417.0__py3-none-any.whl → 0.419.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 (64) hide show
  1. orionis/metadata/framework.py +1 -1
  2. {orionis-0.417.0.dist-info → orionis-0.419.0.dist-info}/METADATA +1 -1
  3. {orionis-0.417.0.dist-info → orionis-0.419.0.dist-info}/RECORD +60 -60
  4. {orionis-0.417.0.dist-info → orionis-0.419.0.dist-info}/top_level.txt +0 -1
  5. tests/foundation/config/app/test_foundation_config_app.py +262 -0
  6. {foundation → tests/foundation}/config/cache/test_foundation_config_cache_file.py +8 -8
  7. {foundation → tests/foundation}/config/cache/test_foundation_config_cache_stores.py +11 -3
  8. {foundation → tests/foundation}/config/database/test_foundation_config_database_pgsql.py +5 -5
  9. {foundation → tests/foundation}/config/queue/test_foundation_config_queue.py +0 -20
  10. {foundation → tests/foundation}/config/queue/test_foundation_config_queue_brokers.py +0 -13
  11. tests/foundation/config/root/test_foundation_config_root_paths.py +116 -0
  12. tests/foundation/config/startup/test_foundation_config_startup.py +199 -0
  13. tests/testing/view/test_render.py +31 -0
  14. foundation/config/app/test_foundation_config_app.py +0 -150
  15. foundation/config/root/test_foundation_config_root_paths.py +0 -201
  16. foundation/config/startup/test_foundation_config_startup.py +0 -205
  17. foundation/exceptions/test_foundation_config_exceptions.py +0 -117
  18. {orionis-0.417.0.dist-info → orionis-0.419.0.dist-info}/WHEEL +0 -0
  19. {orionis-0.417.0.dist-info → orionis-0.419.0.dist-info}/licenses/LICENCE +0 -0
  20. {orionis-0.417.0.dist-info → orionis-0.419.0.dist-info}/zip-safe +0 -0
  21. {foundation → tests/foundation}/__init__.py +0 -0
  22. {foundation → tests/foundation}/config/__init__.py +0 -0
  23. {foundation → tests/foundation}/config/app/__init__.py +0 -0
  24. {foundation → tests/foundation}/config/auth/__init__.py +0 -0
  25. {foundation → tests/foundation}/config/auth/test_foundation_config_auth.py +0 -0
  26. {foundation → tests/foundation}/config/cache/__init__.py +0 -0
  27. {foundation → tests/foundation}/config/cache/test_foundation_config_cache.py +0 -0
  28. {foundation → tests/foundation}/config/cors/__init__.py +0 -0
  29. {foundation → tests/foundation}/config/cors/test_foundation_config_cors.py +0 -0
  30. {foundation → tests/foundation}/config/database/__init__.py +0 -0
  31. {foundation → tests/foundation}/config/database/test_foundation_config_database.py +0 -0
  32. {foundation → tests/foundation}/config/database/test_foundation_config_database_connections.py +0 -0
  33. {foundation → tests/foundation}/config/database/test_foundation_config_database_mysql.py +0 -0
  34. {foundation → tests/foundation}/config/database/test_foundation_config_database_oracle.py +0 -0
  35. {foundation → tests/foundation}/config/database/test_foundation_config_database_sqlite.py +0 -0
  36. {foundation → tests/foundation}/config/filesystems/__init__.py +0 -0
  37. {foundation → tests/foundation}/config/filesystems/test_foundation_config_filesystems.py +0 -0
  38. {foundation → tests/foundation}/config/filesystems/test_foundation_config_filesystems_aws.py +0 -0
  39. {foundation → tests/foundation}/config/filesystems/test_foundation_config_filesystems_disks.py +0 -0
  40. {foundation → tests/foundation}/config/filesystems/test_foundation_config_filesystems_local.py +0 -0
  41. {foundation → tests/foundation}/config/filesystems/test_foundation_config_filesystems_public.py +0 -0
  42. {foundation → tests/foundation}/config/logging/__init__.py +0 -0
  43. {foundation → tests/foundation}/config/logging/test_foundation_config_logging.py +0 -0
  44. {foundation → tests/foundation}/config/logging/test_foundation_config_logging_channels.py +0 -0
  45. {foundation → tests/foundation}/config/logging/test_foundation_config_logging_chunked.py +0 -0
  46. {foundation → tests/foundation}/config/logging/test_foundation_config_logging_daily.py +0 -0
  47. {foundation → tests/foundation}/config/logging/test_foundation_config_logging_hourly.py +0 -0
  48. {foundation → tests/foundation}/config/logging/test_foundation_config_logging_monthly.py +0 -0
  49. {foundation → tests/foundation}/config/logging/test_foundation_config_logging_stack.py +0 -0
  50. {foundation → tests/foundation}/config/logging/test_foundation_config_logging_weekly.py +0 -0
  51. {foundation → tests/foundation}/config/mail/__init__.py +0 -0
  52. {foundation → tests/foundation}/config/mail/test_foundation_config_mail.py +0 -0
  53. {foundation → tests/foundation}/config/mail/test_foundation_config_mail_file.py +0 -0
  54. {foundation → tests/foundation}/config/mail/test_foundation_config_mail_mailers.py +0 -0
  55. {foundation → tests/foundation}/config/mail/test_foundation_config_mail_smtp.py +0 -0
  56. {foundation → tests/foundation}/config/queue/__init__.py +0 -0
  57. {foundation → tests/foundation}/config/queue/test_foundation_config_queue_database.py +0 -0
  58. {foundation → tests/foundation}/config/root/__init__.py +0 -0
  59. {foundation → tests/foundation}/config/session/__init__.py +0 -0
  60. {foundation → tests/foundation}/config/session/test_foundation_config_session.py +0 -0
  61. {foundation → tests/foundation}/config/startup/__init__.py +0 -0
  62. {foundation → tests/foundation}/config/testing/__init__.py +0 -0
  63. {foundation → tests/foundation}/config/testing/test_foundation_config_testing.py +0 -0
  64. {foundation/exceptions → tests/testing/view}/__init__.py +0 -0
@@ -5,7 +5,7 @@
5
5
  NAME = "orionis"
6
6
 
7
7
  # Current version of the framework
8
- VERSION = "0.417.0"
8
+ VERSION = "0.419.0"
9
9
 
10
10
  # Full name of the author or maintainer of the project
11
11
  AUTHOR = "Raul Mauricio Uñate Castro"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: orionis
3
- Version: 0.417.0
3
+ Version: 0.419.0
4
4
  Summary: Orionis Framework – Elegant, Fast, and Powerful.
5
5
  Home-page: https://github.com/orionis-framework/framework
6
6
  Author: Raul Mauricio Uñate Castro
@@ -1,58 +1,5 @@
1
1
  environment/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  environment/test_services_environment.py,sha256=6UH3g2Z2DQYtGnyySCRnT35VCENlL-PQWHIdH6zA9rw,3767
3
- foundation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- foundation/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
- foundation/config/app/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
- foundation/config/app/test_foundation_config_app.py,sha256=3ol-IOoYs5wbxEY7rPsiR1LnFTbcaeqcKUy0x1KTVH0,5580
7
- foundation/config/auth/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
- foundation/config/auth/test_foundation_config_auth.py,sha256=iDK3VuJ3TtuEYE5dR8xaByQ8mZLbrsFdCqaFrfCFlgY,1048
9
- foundation/config/cache/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
- foundation/config/cache/test_foundation_config_cache.py,sha256=fDtw_0NPB2h18nrR13zD6WXL7lK6QyQKjpj6R61LMuw,4653
11
- foundation/config/cache/test_foundation_config_cache_file.py,sha256=X_kb3D5LkZOq1VPqemgP1XRTsD_FLk8CG0MZWl1Wp1Y,3674
12
- foundation/config/cache/test_foundation_config_cache_stores.py,sha256=yRVB5aBEGfL6sjJvLQAP0SFOXyiB7UjDgv01d5mPtjo,4584
13
- foundation/config/cors/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
14
- foundation/config/cors/test_foundation_config_cors.py,sha256=0B19I4g5TRp9vQu79vcteeIsjbBpiIoE6Mxslx5d9os,6721
15
- foundation/config/database/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
- foundation/config/database/test_foundation_config_database.py,sha256=OiO42vc940RVCcHTj7XoMO-xpKFQ5l-5JpSYR4jwR24,4846
17
- foundation/config/database/test_foundation_config_database_connections.py,sha256=sQ5b2rwmhdMk44oZOx4Hb6EGW_3DW3dnDUtTKu0QSWA,6977
18
- foundation/config/database/test_foundation_config_database_mysql.py,sha256=200U6fL9XysUJ7tynSCKcWdRPEd7Fh4TP-lfSE2wMzY,12432
19
- foundation/config/database/test_foundation_config_database_oracle.py,sha256=zhWuAFPKW5EQtTmfIunqo8mKjcdqbLy-nnSiy4x6lS4,10413
20
- foundation/config/database/test_foundation_config_database_pgsql.py,sha256=Vl9AcYw-lTGUbyH8r6wtO27pd1B0ndRYwaJLiaivIRI,8531
21
- foundation/config/database/test_foundation_config_database_sqlite.py,sha256=oxb0kyENsRHNiw5NwqYicB-URM43j0jTlL5leiPBm8Y,7362
22
- foundation/config/filesystems/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
23
- foundation/config/filesystems/test_foundation_config_filesystems.py,sha256=_XYpbESjUwX-LmLv2Ik4dPc-32KEiaa7_Iz753dXz-E,5278
24
- foundation/config/filesystems/test_foundation_config_filesystems_aws.py,sha256=IqYDNTmYAtFLFsa0jLzbYZSApqo_YHxysaD74ytezrc,5897
25
- foundation/config/filesystems/test_foundation_config_filesystems_disks.py,sha256=lG4bvb0kAcGQbwwtDzKPnW0jZG7Aniw52A4m-3vaL4Q,6474
26
- foundation/config/filesystems/test_foundation_config_filesystems_local.py,sha256=X10AQjmlNB2sty34hXOkTDcMcZDraF-x1Kw6X7NxcBc,4296
27
- foundation/config/filesystems/test_foundation_config_filesystems_public.py,sha256=W94Fb5CZ81HMaDI9Z_YetdY0ma77qINad-2AWBcyRlI,5900
28
- foundation/config/logging/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
29
- foundation/config/logging/test_foundation_config_logging.py,sha256=vCYAp8qe6SOo1VJQcb1_R5JMQe00HCl78D4E-43Dxm8,3183
30
- foundation/config/logging/test_foundation_config_logging_channels.py,sha256=c4OT2o_ml48uqwsCChXffRxFMjqpS3yTplZyvIqsEhA,8990
31
- foundation/config/logging/test_foundation_config_logging_chunked.py,sha256=TL-pLde4LAvHTcj01RT_Sa_OkwbQHzKrAH-9UGKVaMY,7021
32
- foundation/config/logging/test_foundation_config_logging_daily.py,sha256=Sf5vG6WL558N41dukprA5iiT1LoBXi1ak19QGSZpAsI,7076
33
- foundation/config/logging/test_foundation_config_logging_hourly.py,sha256=zjDDXykck_gH9TLPcoESwgjUd-6qZJDjjFwD_Xz2Yak,6765
34
- foundation/config/logging/test_foundation_config_logging_monthly.py,sha256=59AKYce42PqVVNGu_FjsQtR2EtXePUvYwgF4MkA01WM,6370
35
- foundation/config/logging/test_foundation_config_logging_stack.py,sha256=BYTtZmbJlGeW_7qXo7AlyQZOluvZDzMgBTM68hbq2nc,5302
36
- foundation/config/logging/test_foundation_config_logging_weekly.py,sha256=g-x3VCN_L1jrrSrsW1UkBWYpKeuK5ASAAzhlKQJDkvQ,7697
37
- foundation/config/mail/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
38
- foundation/config/mail/test_foundation_config_mail.py,sha256=xR3HY218J7vecdM1h0TaAfX4DGl90PUgmktlylT_4S8,4209
39
- foundation/config/mail/test_foundation_config_mail_file.py,sha256=9apGs381QxaO9gwwDTAtObF61AMFTd61c1Sfx1nZeYM,3023
40
- foundation/config/mail/test_foundation_config_mail_mailers.py,sha256=tcQ2EAcF2EOQ_QB2a765bexU_RImz8P7zBndi_tAFUk,3427
41
- foundation/config/mail/test_foundation_config_mail_smtp.py,sha256=cf2gRJ0-IcqN38MhXIP_pfVjsRsRlCDOHPNB11B7daE,4883
42
- foundation/config/queue/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
43
- foundation/config/queue/test_foundation_config_queue.py,sha256=xeeEmfgObuAnry7qB530vXWyNmCNl76vHyWXH0Eb-Qg,3416
44
- foundation/config/queue/test_foundation_config_queue_brokers.py,sha256=COjFZ25AzA7clRCkjt6MseaiuxYOulLEsZxGfY2Lo5c,3051
45
- foundation/config/queue/test_foundation_config_queue_database.py,sha256=qLYXjG8YVIp_NWYcZA9A2GmOdjFyt3snq9X1cdIok8M,4830
46
- foundation/config/root/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
47
- foundation/config/root/test_foundation_config_root_paths.py,sha256=HqxBdLI-mdsinSEjRKKKvbV2QzmXNfs4b__RzRoftiE,7102
48
- foundation/config/session/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
49
- foundation/config/session/test_foundation_config_session.py,sha256=Zvjzzy8ApRTogRbr3RaIe4EhvWoLKsX9udb2DSokCMI,6392
50
- foundation/config/startup/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
51
- foundation/config/startup/test_foundation_config_startup.py,sha256=_7pi_uaI3OJcQu4hSh_k0iE_wWZDU6kWUOS5Y9yp17c,6807
52
- foundation/config/testing/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
53
- foundation/config/testing/test_foundation_config_testing.py,sha256=BQsQVGmGBiIyRPag6d-meBxip4tW9rWXbKR-V-YDIfU,8237
54
- foundation/exceptions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
55
- foundation/exceptions/test_foundation_config_exceptions.py,sha256=tiXKxGSP8majXpLPyoGR0WGvDE1LoLXQK6NpcQNqz_A,4091
56
3
  orionis/__init__.py,sha256=4AGBG1xD3NjsqkmQ-fD3pde7tiO26iwOpdvJoNvP0kI,201
57
4
  orionis/_console/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
58
5
  orionis/_console/command_filter.py,sha256=bn0fcWfQg13DrQBaV4NopNxdP-6up0G54Qmhg7r_BKA,1211
@@ -313,7 +260,7 @@ orionis/foundation/providers/progress_bar_provider.py,sha256=WW3grNgH-yV2meSSTeO
313
260
  orionis/foundation/providers/testing_provider.py,sha256=iJSN2RIChbYIL-1ue6vmPmDMCSrvERDkti4Er9MPiLA,1102
314
261
  orionis/foundation/providers/workers_provider.py,sha256=kiQjQRyUEyiBX2zcbF_KmqRgvc7Bvxsvg5oMtIvYniM,1075
315
262
  orionis/metadata/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
316
- orionis/metadata/framework.py,sha256=mgSuf0lS1a_bBnjhqeXaV2Y7ZfnUu4h2gWcRaoYMTmI,4960
263
+ orionis/metadata/framework.py,sha256=_Va18iZd_Qg12BcRPLyEnPlSiuJkrHiuoU5jdFjcqqs,4960
317
264
  orionis/metadata/package.py,sha256=tqLfBRo-w1j_GN4xvzUNFyweWYFS-qhSgAEc-AmCH1M,5452
318
265
  orionis/services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
319
266
  orionis/services/asynchrony/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -483,7 +430,7 @@ orionis/test/validators/web_report.py,sha256=-h3Fe9jY93_kzUhd2NBIqEfCcBpu-8Ei9x3
483
430
  orionis/test/validators/workers.py,sha256=LGffDKtK6SKixFKzIYPQpI5aFeQPAGXpv_LUtmEu6g4,1102
484
431
  orionis/test/view/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
485
432
  orionis/test/view/render.py,sha256=3ICz68l-WF3BtnYqH5m-ktN9UD00MELMbmMnyJDV74A,4768
486
- orionis-0.417.0.dist-info/licenses/LICENCE,sha256=-_4cF2EBKuYVS_SQpy1uapq0oJPUU1vl_RUWSy2jJTo,1111
433
+ orionis-0.419.0.dist-info/licenses/LICENCE,sha256=-_4cF2EBKuYVS_SQpy1uapq0oJPUU1vl_RUWSy2jJTo,1111
487
434
  tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
488
435
  tests/container/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
489
436
  tests/container/test_container.py,sha256=asv8TkkupVoex6SWod74NBl4dSs7wb9mLmu_glNdNy8,14815
@@ -517,6 +464,57 @@ tests/container/validators/test_is_valid_alias.py,sha256=egVf6IfSXurIdu8hKo03rws
517
464
  tests/container/validators/test_lifetime.py,sha256=5PequjXAcIcp0Q4TIki7THSU31XftGpI0u1mVGqHmpU,4692
518
465
  tests/example/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
519
466
  tests/example/test_example.py,sha256=XJEcsro3vCO5m4zvMiWUGphvd0C7oIkBtUfQgTDsdUU,25568
467
+ tests/foundation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
468
+ tests/foundation/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
469
+ tests/foundation/config/app/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
470
+ tests/foundation/config/app/test_foundation_config_app.py,sha256=nXe50Gqxd_o2PvUv5Do8LTVkLRltbi9cBOGJgLAsxNE,10470
471
+ tests/foundation/config/auth/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
472
+ tests/foundation/config/auth/test_foundation_config_auth.py,sha256=iDK3VuJ3TtuEYE5dR8xaByQ8mZLbrsFdCqaFrfCFlgY,1048
473
+ tests/foundation/config/cache/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
474
+ tests/foundation/config/cache/test_foundation_config_cache.py,sha256=fDtw_0NPB2h18nrR13zD6WXL7lK6QyQKjpj6R61LMuw,4653
475
+ tests/foundation/config/cache/test_foundation_config_cache_file.py,sha256=nqPTvt7yPvlk0nJfo2UG7lGJ91qhp5wfDOEj5MESk7s,3649
476
+ tests/foundation/config/cache/test_foundation_config_cache_stores.py,sha256=ToDxRCPUVyFLo-G95RoBB2EKpudzjnIASdfgctWJppc,4991
477
+ tests/foundation/config/cors/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
478
+ tests/foundation/config/cors/test_foundation_config_cors.py,sha256=0B19I4g5TRp9vQu79vcteeIsjbBpiIoE6Mxslx5d9os,6721
479
+ tests/foundation/config/database/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
480
+ tests/foundation/config/database/test_foundation_config_database.py,sha256=OiO42vc940RVCcHTj7XoMO-xpKFQ5l-5JpSYR4jwR24,4846
481
+ tests/foundation/config/database/test_foundation_config_database_connections.py,sha256=sQ5b2rwmhdMk44oZOx4Hb6EGW_3DW3dnDUtTKu0QSWA,6977
482
+ tests/foundation/config/database/test_foundation_config_database_mysql.py,sha256=200U6fL9XysUJ7tynSCKcWdRPEd7Fh4TP-lfSE2wMzY,12432
483
+ tests/foundation/config/database/test_foundation_config_database_oracle.py,sha256=zhWuAFPKW5EQtTmfIunqo8mKjcdqbLy-nnSiy4x6lS4,10413
484
+ tests/foundation/config/database/test_foundation_config_database_pgsql.py,sha256=Pctyldh90HKFqEgiCd2GkoJFOunQBwIQd-loDc7cVv0,8519
485
+ tests/foundation/config/database/test_foundation_config_database_sqlite.py,sha256=oxb0kyENsRHNiw5NwqYicB-URM43j0jTlL5leiPBm8Y,7362
486
+ tests/foundation/config/filesystems/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
487
+ tests/foundation/config/filesystems/test_foundation_config_filesystems.py,sha256=_XYpbESjUwX-LmLv2Ik4dPc-32KEiaa7_Iz753dXz-E,5278
488
+ tests/foundation/config/filesystems/test_foundation_config_filesystems_aws.py,sha256=IqYDNTmYAtFLFsa0jLzbYZSApqo_YHxysaD74ytezrc,5897
489
+ tests/foundation/config/filesystems/test_foundation_config_filesystems_disks.py,sha256=lG4bvb0kAcGQbwwtDzKPnW0jZG7Aniw52A4m-3vaL4Q,6474
490
+ tests/foundation/config/filesystems/test_foundation_config_filesystems_local.py,sha256=X10AQjmlNB2sty34hXOkTDcMcZDraF-x1Kw6X7NxcBc,4296
491
+ tests/foundation/config/filesystems/test_foundation_config_filesystems_public.py,sha256=W94Fb5CZ81HMaDI9Z_YetdY0ma77qINad-2AWBcyRlI,5900
492
+ tests/foundation/config/logging/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
493
+ tests/foundation/config/logging/test_foundation_config_logging.py,sha256=vCYAp8qe6SOo1VJQcb1_R5JMQe00HCl78D4E-43Dxm8,3183
494
+ tests/foundation/config/logging/test_foundation_config_logging_channels.py,sha256=c4OT2o_ml48uqwsCChXffRxFMjqpS3yTplZyvIqsEhA,8990
495
+ tests/foundation/config/logging/test_foundation_config_logging_chunked.py,sha256=TL-pLde4LAvHTcj01RT_Sa_OkwbQHzKrAH-9UGKVaMY,7021
496
+ tests/foundation/config/logging/test_foundation_config_logging_daily.py,sha256=Sf5vG6WL558N41dukprA5iiT1LoBXi1ak19QGSZpAsI,7076
497
+ tests/foundation/config/logging/test_foundation_config_logging_hourly.py,sha256=zjDDXykck_gH9TLPcoESwgjUd-6qZJDjjFwD_Xz2Yak,6765
498
+ tests/foundation/config/logging/test_foundation_config_logging_monthly.py,sha256=59AKYce42PqVVNGu_FjsQtR2EtXePUvYwgF4MkA01WM,6370
499
+ tests/foundation/config/logging/test_foundation_config_logging_stack.py,sha256=BYTtZmbJlGeW_7qXo7AlyQZOluvZDzMgBTM68hbq2nc,5302
500
+ tests/foundation/config/logging/test_foundation_config_logging_weekly.py,sha256=g-x3VCN_L1jrrSrsW1UkBWYpKeuK5ASAAzhlKQJDkvQ,7697
501
+ tests/foundation/config/mail/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
502
+ tests/foundation/config/mail/test_foundation_config_mail.py,sha256=xR3HY218J7vecdM1h0TaAfX4DGl90PUgmktlylT_4S8,4209
503
+ tests/foundation/config/mail/test_foundation_config_mail_file.py,sha256=9apGs381QxaO9gwwDTAtObF61AMFTd61c1Sfx1nZeYM,3023
504
+ tests/foundation/config/mail/test_foundation_config_mail_mailers.py,sha256=tcQ2EAcF2EOQ_QB2a765bexU_RImz8P7zBndi_tAFUk,3427
505
+ tests/foundation/config/mail/test_foundation_config_mail_smtp.py,sha256=cf2gRJ0-IcqN38MhXIP_pfVjsRsRlCDOHPNB11B7daE,4883
506
+ tests/foundation/config/queue/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
507
+ tests/foundation/config/queue/test_foundation_config_queue.py,sha256=1qeov00ibVDnH2C_M_T9yylMFL7pyhxxIqL852YXS54,2807
508
+ tests/foundation/config/queue/test_foundation_config_queue_brokers.py,sha256=FezIF7aRFNi_bVa45kfbxO2Cf0DomFNuoybM64S88aw,2592
509
+ tests/foundation/config/queue/test_foundation_config_queue_database.py,sha256=qLYXjG8YVIp_NWYcZA9A2GmOdjFyt3snq9X1cdIok8M,4830
510
+ tests/foundation/config/root/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
511
+ tests/foundation/config/root/test_foundation_config_root_paths.py,sha256=rZkIsEik2crc0XUOHodT4QmmhIXhfpWGlWtn75akEI0,4096
512
+ tests/foundation/config/session/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
513
+ tests/foundation/config/session/test_foundation_config_session.py,sha256=Zvjzzy8ApRTogRbr3RaIe4EhvWoLKsX9udb2DSokCMI,6392
514
+ tests/foundation/config/startup/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
515
+ tests/foundation/config/startup/test_foundation_config_startup.py,sha256=9ZFwbWxQ9Fyskcpo5qrQtofjVMkBdA6mep9s-PIIx-c,7129
516
+ tests/foundation/config/testing/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
517
+ tests/foundation/config/testing/test_foundation_config_testing.py,sha256=BQsQVGmGBiIyRPag6d-meBxip4tW9rWXbKR-V-YDIfU,8237
520
518
  tests/metadata/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
521
519
  tests/metadata/test_metadata_framework.py,sha256=1tCNciuPVgZPK-V8PzENJCXN-1bTktWPN9u03N4Eelw,5499
522
520
  tests/metadata/test_metadata_package.py,sha256=gXIX-N9toEHJsmFkdhAvJRnz2T5e6pbgK37I1eFYTGM,4770
@@ -573,8 +571,10 @@ tests/testing/records/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3h
573
571
  tests/testing/records/test_testing_records.py,sha256=1MY5bCzY9yapjlOPB8t2SJz63V2_iGczqTmtnyHpnlE,6446
574
572
  tests/testing/validators/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
575
573
  tests/testing/validators/test_testing_validators.py,sha256=QdcF0Vhnnl_kD-PzceHJbUYOqwPTB1Td7YaTv8LTr30,19612
576
- orionis-0.417.0.dist-info/METADATA,sha256=XLg_D-73TO_1-kXgtzAsdiwUPMvcOcRLbdK8rl3a1BA,4772
577
- orionis-0.417.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
578
- orionis-0.417.0.dist-info/top_level.txt,sha256=nkPWzvqkAzAmwPMPo3_iiUgzWMFOGfz6hVwdASslEGE,37
579
- orionis-0.417.0.dist-info/zip-safe,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
580
- orionis-0.417.0.dist-info/RECORD,,
574
+ tests/testing/view/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
575
+ tests/testing/view/test_render.py,sha256=-ghGG8rimyb2b2wtvMuSPPH7Zac5_NlVCiUcHRA5SNg,1172
576
+ orionis-0.419.0.dist-info/METADATA,sha256=sk8ReV1JeVpm2Z4nNnREN2luPdhyMb6Zt1A4-cQgwE0,4772
577
+ orionis-0.419.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
578
+ orionis-0.419.0.dist-info/top_level.txt,sha256=0G1WIo0HbkZ6hNbKp6cdXLoKj1SfULEORhCuPIV_Dqw,26
579
+ orionis-0.419.0.dist-info/zip-safe,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
580
+ orionis-0.419.0.dist-info/RECORD,,
@@ -1,4 +1,3 @@
1
1
  environment
2
- foundation
3
2
  orionis
4
3
  tests
@@ -0,0 +1,262 @@
1
+ from orionis.foundation.config.app.entities.app import App
2
+ from orionis.foundation.config.app.enums.ciphers import Cipher
3
+ from orionis.foundation.config.app.enums.environments import Environments
4
+ from orionis.foundation.exceptions.integrity import OrionisIntegrityException
5
+ from orionis.test.cases.asynchronous import AsyncTestCase
6
+ from orionis.services.system.workers import Workers
7
+
8
+ class TestFoundationConfigApp(AsyncTestCase):
9
+
10
+ async def testDefaultValues(self):
11
+ """
12
+ Tests that the App class initializes with the correct default values for all attributes.
13
+
14
+ This method creates an instance of the App class without passing any arguments and
15
+ verifies that each attribute is set to its expected default value. It also checks that
16
+ the generated key is a non-empty string.
17
+
18
+ Returns
19
+ -------
20
+ None
21
+ This method does not return any value. It performs assertions to validate default values.
22
+ """
23
+ app = App() # Create App instance with default parameters
24
+
25
+ # Assert default name
26
+ self.assertEqual(app.name, 'Orionis Application')
27
+
28
+ # Assert default environment
29
+ self.assertEqual(app.env, Environments.DEVELOPMENT.value)
30
+
31
+ # Assert default debug mode is enabled
32
+ self.assertTrue(app.debug)
33
+
34
+ # Assert default URL
35
+ self.assertEqual(app.url, 'http://127.0.0.1')
36
+
37
+ # Assert default port
38
+ self.assertEqual(app.port, 8000)
39
+
40
+ # Assert default timezone
41
+ self.assertEqual(app.timezone, 'UTC')
42
+
43
+ # Assert default locale
44
+ self.assertEqual(app.locale, 'en')
45
+
46
+ # Assert default fallback locale
47
+ self.assertEqual(app.fallback_locale, 'en')
48
+
49
+ # Assert default cipher
50
+ self.assertEqual(app.cipher, Cipher.AES_256_CBC.value)
51
+
52
+ # Assert key is a non-empty string
53
+ self.assertIsInstance(app.key, str)
54
+ self.assertTrue(app.key) # key is never None or empty
55
+ self.assertEqual(app.maintenance, '/maintenance')
56
+
57
+ async def testEnvironmentValidation(self):
58
+ """
59
+ Validates that the App class correctly handles environment values.
60
+
61
+ This method tests the initialization of the App class with different environment values,
62
+ ensuring that valid environments are accepted and set correctly, while invalid values
63
+ raise an OrionisIntegrityException.
64
+
65
+ Parameters
66
+ ----------
67
+ None
68
+
69
+ Returns
70
+ -------
71
+ None
72
+ This method does not return any value. It performs assertions to validate environment handling.
73
+ """
74
+ # Test with a valid environment string
75
+ app = App(env="PRODUCTION")
76
+ self.assertEqual(app.env, Environments.PRODUCTION.value)
77
+
78
+ # Test with a valid Environments enum
79
+ app = App(env=Environments.TESTING)
80
+ self.assertEqual(app.env, Environments.TESTING.value)
81
+
82
+ # Test with an invalid environment value, expecting an exception
83
+ with self.assertRaises(OrionisIntegrityException):
84
+ App(env="INVALID_ENV")
85
+
86
+ async def testCipherValidation(self):
87
+ """
88
+ Validates that the App class correctly handles cipher values.
89
+
90
+ This method tests the initialization of the App class with different cipher values,
91
+ ensuring that valid ciphers are accepted and set correctly, while invalid values
92
+ raise an OrionisIntegrityException.
93
+
94
+ Parameters
95
+ ----------
96
+ None
97
+
98
+ Returns
99
+ -------
100
+ None
101
+ This method does not return any value. It performs assertions to validate cipher handling.
102
+ """
103
+ # Test with a valid cipher string
104
+ app = App(cipher="AES_128_CBC")
105
+ self.assertEqual(app.cipher, Cipher.AES_128_CBC.value)
106
+
107
+ # Test with a valid Cipher enum
108
+ app = App(cipher=Cipher.AES_192_CBC)
109
+ self.assertEqual(app.cipher, Cipher.AES_192_CBC.value)
110
+
111
+ # Test with an invalid cipher value, expecting an exception
112
+ with self.assertRaises(OrionisIntegrityException):
113
+ App(cipher="INVALID_CIPHER")
114
+
115
+ async def testTypeValidation(self):
116
+ """
117
+ Validates that the App class enforces correct types for its attributes.
118
+
119
+ This method attempts to initialize the App class with incorrect types for various attributes.
120
+ It asserts that an OrionisIntegrityException is raised for each case, ensuring that type validation
121
+ is properly enforced for all relevant parameters.
122
+
123
+ Parameters
124
+ ----------
125
+ None
126
+
127
+ Returns
128
+ -------
129
+ None
130
+ This method does not return any value. It performs assertions to verify type validation.
131
+ """
132
+ # Name must be a string, not an integer
133
+ with self.assertRaises(OrionisIntegrityException):
134
+ App(name=123)
135
+
136
+ # Debug must be a boolean, not a string
137
+ with self.assertRaises(OrionisIntegrityException):
138
+ App(debug="true")
139
+
140
+ # URL must be a string, not an integer
141
+ with self.assertRaises(OrionisIntegrityException):
142
+ App(url=123)
143
+
144
+ # Port must be an integer, not a string
145
+ with self.assertRaises(OrionisIntegrityException):
146
+ App(port="8000")
147
+
148
+ # Workers must be an integer, not a string
149
+ with self.assertRaises(OrionisIntegrityException):
150
+ App(workers="4")
151
+
152
+ # Reload must be a boolean, not a string
153
+ with self.assertRaises(OrionisIntegrityException):
154
+ App(reload="true")
155
+
156
+ async def testWorkersRangeValidation(self):
157
+ """
158
+ Tests the validation of the workers parameter range for the App class.
159
+
160
+ This method verifies that the App class raises an OrionisIntegrityException
161
+ when initialized with an invalid number of workers. Specifically, it checks
162
+ for two cases:
163
+ - When the number of workers is set to 0 (below the minimum allowed).
164
+ - When the number of workers exceeds the maximum allowed, as calculated
165
+ by Workers().calculate().
166
+
167
+ Comments are provided within the code to clarify the purpose of each assertion.
168
+
169
+ Returns
170
+ -------
171
+ None
172
+ This test method does not return any value. It asserts that exceptions
173
+ are raised for invalid worker counts.
174
+ """
175
+ max_workers = Workers().calculate()
176
+ with self.assertRaises(OrionisIntegrityException):
177
+ App(workers=0)
178
+ with self.assertRaises(OrionisIntegrityException):
179
+ App(workers=max_workers + 1)
180
+
181
+ async def testToDictMethod(self):
182
+ """
183
+ Tests the `toDict` method of the App class to ensure it returns a dictionary
184
+ representation of the application's configuration with correct values.
185
+
186
+ This method creates an instance of the App class using default parameters,
187
+ invokes the `toDict` method, and verifies that the returned dictionary contains
188
+ all expected keys and values matching the default configuration. It also checks
189
+ that the key attribute is a non-empty string.
190
+
191
+ Returns
192
+ -------
193
+ None
194
+ This method does not return any value. It performs assertions to validate
195
+ the correctness of the dictionary returned by `toDict`.
196
+ """
197
+ app = App() # Create App instance with default parameters
198
+
199
+ app_dict = app.toDict() # Get dictionary representation of the app configuration
200
+
201
+ # Assert that the returned value is a dictionary
202
+ self.assertIsInstance(app_dict, dict)
203
+
204
+ # Assert each key in the dictionary matches the expected default value
205
+ self.assertEqual(app_dict['name'], 'Orionis Application')
206
+ self.assertEqual(app_dict['env'], Environments.DEVELOPMENT.value)
207
+ self.assertTrue(app_dict['debug'])
208
+ self.assertEqual(app_dict['url'], 'http://127.0.0.1')
209
+ self.assertEqual(app_dict['port'], 8000)
210
+ self.assertEqual(app_dict['timezone'], 'UTC')
211
+ self.assertEqual(app_dict['locale'], 'en')
212
+ self.assertEqual(app_dict['fallback_locale'], 'en')
213
+ self.assertEqual(app_dict['cipher'], Cipher.AES_256_CBC.value)
214
+
215
+ # Assert that the key is a non-empty string
216
+ self.assertIsInstance(app_dict['key'], str)
217
+ self.assertTrue(app_dict['key'])
218
+
219
+ self.assertEqual(app_dict['maintenance'], '/maintenance')
220
+
221
+ async def testNonEmptyStringValidation(self):
222
+ """
223
+ Validates that the App class enforces non-empty string constraints for specific attributes.
224
+
225
+ This method attempts to initialize the App class with empty strings for attributes that require
226
+ non-empty values, such as `name`, `url`, `timezone`, `locale`, `fallback_locale`, and `maintenance`.
227
+ It asserts that an OrionisIntegrityException is raised for each case, ensuring that the class
228
+ properly enforces non-empty string validation. Additionally, it checks that the `maintenance`
229
+ attribute must start with a forward slash (`/`).
230
+
231
+ Returns
232
+ -------
233
+ None
234
+ This method does not return any value. It performs assertions to verify non-empty string validation.
235
+ """
236
+ # Name must not be an empty string
237
+ with self.assertRaises(OrionisIntegrityException):
238
+ App(name="")
239
+
240
+ # URL must not be an empty string
241
+ with self.assertRaises(OrionisIntegrityException):
242
+ App(url="")
243
+
244
+ # Timezone must not be an empty string
245
+ with self.assertRaises(OrionisIntegrityException):
246
+ App(timezone="")
247
+
248
+ # Locale must not be an empty string
249
+ with self.assertRaises(OrionisIntegrityException):
250
+ App(locale="")
251
+
252
+ # Fallback locale must not be an empty string
253
+ with self.assertRaises(OrionisIntegrityException):
254
+ App(fallback_locale="")
255
+
256
+ # Maintenance must not be an empty string
257
+ with self.assertRaises(OrionisIntegrityException):
258
+ App(maintenance="")
259
+
260
+ # Maintenance must start with a forward slash ('/')
261
+ with self.assertRaises(OrionisIntegrityException):
262
+ App(maintenance="maintenance")
@@ -4,17 +4,17 @@ from orionis.test.cases.asynchronous import AsyncTestCase
4
4
 
5
5
  class TestFoundationConfigCacheFile(AsyncTestCase):
6
6
  """
7
- Test cases for the File cache configuration entity.
7
+ Unit tests for the File cache configuration dataclass.
8
8
 
9
- This class contains unit tests for the `File` cache configuration entity,
10
- validating its initialization, path handling, and dictionary representation.
9
+ These tests validate the initialization, attribute validation, and dictionary representation
10
+ of the File cache configuration entity.
11
11
  """
12
12
 
13
13
  async def testDefaultPath(self):
14
14
  """
15
15
  Test default path initialization.
16
16
 
17
- Ensures that a `File` instance is created with the correct default path.
17
+ Ensures that a File instance is created with the correct default path.
18
18
 
19
19
  Returns
20
20
  -------
@@ -41,7 +41,7 @@ class TestFoundationConfigCacheFile(AsyncTestCase):
41
41
  """
42
42
  Test validation for empty path.
43
43
 
44
- Ensures that providing an empty path raises an `OrionisIntegrityException`.
44
+ Ensures that providing an empty path raises an OrionisIntegrityException.
45
45
 
46
46
  Returns
47
47
  -------
@@ -59,7 +59,7 @@ class TestFoundationConfigCacheFile(AsyncTestCase):
59
59
  """
60
60
  Test validation for path type.
61
61
 
62
- Ensures that non-string path values raise an `OrionisIntegrityException`.
62
+ Ensures that non-string path values raise an OrionisIntegrityException.
63
63
 
64
64
  Returns
65
65
  -------
@@ -83,7 +83,7 @@ class TestFoundationConfigCacheFile(AsyncTestCase):
83
83
  """
84
84
  Test dictionary representation.
85
85
 
86
- Ensures that the `toDict` method returns a dictionary with the expected path value.
86
+ Ensures that the toDict method returns a dictionary with the expected path value.
87
87
 
88
88
  Returns
89
89
  -------
@@ -99,7 +99,7 @@ class TestFoundationConfigCacheFile(AsyncTestCase):
99
99
  """
100
100
  Test custom path in dictionary representation.
101
101
 
102
- Ensures that custom paths are properly included in the dictionary returned by `toDict`.
102
+ Ensures that custom paths are properly included in the dictionary returned by toDict.
103
103
 
104
104
  Returns
105
105
  -------
@@ -35,7 +35,7 @@ class TestFoundationConfigCacheStores(AsyncTestCase):
35
35
  """
36
36
  Test initialization with a custom File configuration.
37
37
 
38
- Ensures that a custom `File` instance can be provided during
38
+ Ensures that a custom `File` instance or dict can be provided during
39
39
  initialization and is correctly assigned to the `file` attribute.
40
40
 
41
41
  Returns
@@ -47,11 +47,15 @@ class TestFoundationConfigCacheStores(AsyncTestCase):
47
47
  self.assertIsInstance(stores.file, File)
48
48
  self.assertEqual(stores.file.path, 'custom/cache/path')
49
49
 
50
+ stores_dict = Stores(file={'path': 'dict/cache/path'})
51
+ self.assertIsInstance(stores_dict.file, File)
52
+ self.assertEqual(stores_dict.file.path, 'dict/cache/path')
53
+
50
54
  async def testFileTypeValidation(self):
51
55
  """
52
56
  Test type validation for the file attribute.
53
57
 
54
- Ensures that providing a non-`File` instance to the `file` attribute
58
+ Ensures that providing a non-`File` instance or dict to the `file` attribute
55
59
  raises an `OrionisIntegrityException`.
56
60
 
57
61
  Returns
@@ -61,7 +65,7 @@ class TestFoundationConfigCacheStores(AsyncTestCase):
61
65
  Raises
62
66
  ------
63
67
  OrionisIntegrityException
64
- If the `file` attribute is not a `File` instance.
68
+ If the `file` attribute is not a `File` instance or dict.
65
69
  """
66
70
  with self.assertRaises(OrionisIntegrityException):
67
71
  Stores(file="not_a_file_instance")
@@ -107,6 +111,10 @@ class TestFoundationConfigCacheStores(AsyncTestCase):
107
111
 
108
112
  self.assertEqual(stores_dict['file']['path'], 'alternate/cache/location')
109
113
 
114
+ stores_dict_input = Stores(file={'path': 'dict/location'})
115
+ stores_dict2 = stores_dict_input.toDict()
116
+ self.assertEqual(stores_dict2['file']['path'], 'dict/location')
117
+
110
118
  async def testHashability(self):
111
119
  """
112
120
  Test hashability of Stores instances.
@@ -26,9 +26,9 @@ class TestFoundationConfigDatabasePgsql(AsyncTestCase):
26
26
  pgsql = PGSQL()
27
27
  self.assertEqual(pgsql.driver, 'pgsql')
28
28
  self.assertEqual(pgsql.host, '127.0.0.1')
29
- self.assertEqual(pgsql.port, '5432')
29
+ self.assertEqual(pgsql.port, 5432)
30
30
  self.assertEqual(pgsql.database, 'orionis')
31
- self.assertEqual(pgsql.username, 'root')
31
+ self.assertEqual(pgsql.username, 'postgres')
32
32
  self.assertEqual(pgsql.password, '')
33
33
  self.assertEqual(pgsql.charset, PGSQLCharset.UTF8.value)
34
34
  self.assertEqual(pgsql.prefix, '')
@@ -79,7 +79,7 @@ class TestFoundationConfigDatabasePgsql(AsyncTestCase):
79
79
  with self.assertRaises(OrionisIntegrityException):
80
80
  PGSQL(port='abc')
81
81
  with self.assertRaises(OrionisIntegrityException):
82
- PGSQL(port=5432) # Should be string
82
+ PGSQL(port='string')
83
83
 
84
84
  async def testDatabaseValidation(self):
85
85
  """
@@ -213,9 +213,9 @@ class TestFoundationConfigDatabasePgsql(AsyncTestCase):
213
213
  pgsql_dict = pgsql.toDict()
214
214
  self.assertEqual(pgsql_dict['driver'], 'pgsql')
215
215
  self.assertEqual(pgsql_dict['host'], '127.0.0.1')
216
- self.assertEqual(pgsql_dict['port'], '5432')
216
+ self.assertEqual(pgsql_dict['port'], 5432)
217
217
  self.assertEqual(pgsql_dict['database'], 'orionis')
218
- self.assertEqual(pgsql_dict['username'], 'root')
218
+ self.assertEqual(pgsql_dict['username'], 'postgres')
219
219
  self.assertEqual(pgsql_dict['password'], '')
220
220
  self.assertEqual(pgsql_dict['charset'], PGSQLCharset.UTF8.value)
221
221
  self.assertEqual(pgsql_dict['prefix'], '')
@@ -44,26 +44,6 @@ class TestFoundationConfigQueue(AsyncTestCase):
44
44
  with self.assertRaises(OrionisIntegrityException):
45
45
  Queue(default=option)
46
46
 
47
- async def testBrokersValidation(self):
48
- """
49
- Test validation of the `brokers` attribute.
50
-
51
- Ensures that non-Brokers values for the `brokers` attribute raise an OrionisIntegrityException.
52
-
53
- Returns
54
- -------
55
- None
56
-
57
- Raises
58
- ------
59
- OrionisIntegrityException
60
- If a non-Brokers value is provided for brokers.
61
- """
62
- with self.assertRaises(OrionisIntegrityException):
63
- Queue(brokers="invalid_brokers")
64
- with self.assertRaises(OrionisIntegrityException):
65
- Queue(brokers={})
66
-
67
47
  async def testValidCustomInitialization(self):
68
48
  """
69
49
  Test custom initialization with valid parameters.
@@ -29,19 +29,6 @@ class TestFoundationConfigQueueBrokers(AsyncTestCase):
29
29
  with self.assertRaises(OrionisIntegrityException):
30
30
  Brokers(sync=1)
31
31
 
32
- async def testDatabaseValidation(self):
33
- """
34
- Test validation for the `database` attribute.
35
-
36
- Notes
37
- -----
38
- Verifies that non-`Database` values for `database` raise `OrionisIntegrityException`.
39
- """
40
- with self.assertRaises(OrionisIntegrityException):
41
- Brokers(database="invalid_database")
42
- with self.assertRaises(OrionisIntegrityException):
43
- Brokers(database={})
44
-
45
32
  async def testCustomInitialization(self):
46
33
  """
47
34
  Test custom initialization with valid parameters.