orionis 0.208.0__py3-none-any.whl → 0.210.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.
orionis/framework.py CHANGED
@@ -5,7 +5,7 @@
5
5
  NAME = "orionis"
6
6
 
7
7
  # Current version of the framework
8
- VERSION = "0.208.0"
8
+ VERSION = "0.210.0"
9
9
 
10
10
  # Full name of the author or maintainer of the project
11
11
  AUTHOR = "Raul Mauricio Uñate Castro"
@@ -0,0 +1,5 @@
1
+ import unittest
2
+ from orionis.luminate.test.test_std_out import TestStdOut
3
+
4
+ class TestCase(unittest.TestCase, TestStdOut):
5
+ pass
@@ -1,8 +1,8 @@
1
+ import os
1
2
  import sys
2
3
  from orionis.luminate.console.output.console import Console
3
- import os
4
4
 
5
- class PrinterInTest:
5
+ class TestStdOut:
6
6
  """
7
7
  A utility class for printing debug information during testing. This class temporarily
8
8
  redirects the standard output and error streams to their original states to ensure
@@ -1,4 +1,4 @@
1
- from orionis.luminate.test.unit_test import UnitTest as UnitTestClass
1
+ from orionis.luminate.test.test_unit import UnitTest as UnitTestClass
2
2
 
3
3
  class Tests:
4
4
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: orionis
3
- Version: 0.208.0
3
+ Version: 0.210.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,6 +1,6 @@
1
1
  orionis/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  orionis/console.py,sha256=4gYWxf0fWYgJ4RKwARvnTPh06FL3GJ6SAZ7R2NzOICw,1342
3
- orionis/framework.py,sha256=f9Ehyig7U1LRiEgdsm4-gGL1bjHiiwYNZJN0A-D3fio,1469
3
+ orionis/framework.py,sha256=ktf77HKAC_3ZhF5oKg7CiAVmLkW_QmL_xrrzI7grIKU,1469
4
4
  orionis/installer/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
5
  orionis/installer/manager.py,sha256=Li4TVziRXWfum02xNG4JHwbnLk-u8xzHjdqKz-D894k,2755
6
6
  orionis/installer/output.py,sha256=7O9qa2xtXMB_4ZvVi-Klneom9YazwygAd_4uYAoxhbU,8548
@@ -121,8 +121,6 @@ orionis/luminate/facades/files/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
121
121
  orionis/luminate/facades/files/path_facade.py,sha256=z6DLW7IiBc6nonEwcIbylgpbrM9hgVzZ2Cptdxjr93I,9219
122
122
  orionis/luminate/facades/log/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
123
123
  orionis/luminate/facades/log/log_facade.py,sha256=8WTLtCvfSdF9ve3lrc3GV0hXxNtolah8WJWfkMUQ_JI,699
124
- orionis/luminate/facades/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
125
- orionis/luminate/facades/tests/tests_facade.py,sha256=TxtxYGLqT3Z199Kox8RL9hGbA4guZie855SJZ6DgfYQ,1662
126
124
  orionis/luminate/foundation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
127
125
  orionis/luminate/foundation/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
128
126
  orionis/luminate/foundation/config/config_bootstrapper.py,sha256=Zdk3C-asIc0zizRI6r_V-e3mQQ1yuh39B8DHdspOxw0,7508
@@ -179,12 +177,13 @@ orionis/luminate/support/inspection/reflexion_instance_with_abstract.py,sha256=P
179
177
  orionis/luminate/support/inspection/reflexion_module.py,sha256=OgBXpqNJHkmq-gX4rqFStv-WVNe9R38RsgUgfHpak8k,405
180
178
  orionis/luminate/support/inspection/reflexion_module_with_classname.py,sha256=YZHZI0XUZkSWnq9wrGxrIXtI64nY9yVSZoMe7PZXq8Y,620
181
179
  orionis/luminate/test/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
180
+ orionis/luminate/test/test_case.py,sha256=jFhNcUZWuDTDFpe_nYJTqXQChA4z5kxu0I2YCONGSVk,134
182
181
  orionis/luminate/test/test_exception.py,sha256=21PILTXnMuL5-wT3HGKjIklt8VeIYDcQDN346i-BbJw,1336
183
- orionis/luminate/test/test_output.py,sha256=7QvkxbKOp56GcznjaJSX9I072gkut1NvuaexqO3v8BM,2768
184
182
  orionis/luminate/test/test_result.py,sha256=Px2_M70r_y7BntRITk_h0IPTbSTW5XhDyklMKHm3JJI,999
185
183
  orionis/luminate/test/test_status.py,sha256=vNKRmp1lud_ZGTayf3A8wO_0vEYdFABy_oMw-RcEc1c,673
186
- orionis/luminate/test/tests.py,sha256=KZRFHB6C8S2DN6JHqJ2sIuSNAUMh9JW1Yn-XGjXjjTw,2218
187
- orionis/luminate/test/unit_test.py,sha256=HtPDWzFXpgFwWYej8z2BArU4k5lItH57K_E-l21MBWo,12070
184
+ orionis/luminate/test/test_std_out.py,sha256=annYLGDkskRpMuLwTAswwrgrYmwsXIyKE02M_ePv-qc,2765
185
+ orionis/luminate/test/test_suite.py,sha256=eg3OwknndYSNCip_f5twpaJSFrBIuKpZQgUwBORblWA,2218
186
+ orionis/luminate/test/test_unit.py,sha256=HtPDWzFXpgFwWYej8z2BArU4k5lItH57K_E-l21MBWo,12070
188
187
  orionis/static/ascii/icon.ascii,sha256=IgrlVjcYxcCrr0cJuJkOnEz0aEdAQBTyLzO5ainKsWc,398
189
188
  orionis/static/ascii/info.ascii,sha256=HF_o2eXaiw5iqcOhHfnPByn5GJ_O2eBwSK3IpTfYOwY,457
190
189
  orionis/static/bg/galaxy.jpg,sha256=_FuPghOe9LBrIWv1eKZ9fiZR72sEz5obvXGDnD7MzTc,172244
@@ -196,19 +195,19 @@ orionis/static/logos/OrionisFramework2.png,sha256=Z_-yBHNSo33QeSTyi-8GfiFozdRqUo
196
195
  orionis/static/logos/OrionisFramework3.png,sha256=BPG9ZB58vDALavI9OMmr8Ym0DQa44s5NL_3M4M6dIYs,193734
197
196
  tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
198
197
  tests/example/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
199
- tests/example/test_example.py,sha256=MNYissCEa0mzx1YA2gTiqXRX8r2v_vfB_Ew0jBFmBag,556
198
+ tests/example/test_example.py,sha256=8EYjl1b-J_479dmJdQoAcKCKr7JUydW7EmPQpeiF13Y,586
200
199
  tests/support/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
201
200
  tests/support/inspection/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
202
- tests/support/inspection/test_reflection_abstract.py,sha256=eralQ9DKyEFEZWl97J4YOTpkYBccMfQpwoPLC1OWapA,9233
203
- tests/support/inspection/test_reflection_instance.py,sha256=46mO4drWsfKKVPuCjUbKeVmw16uBDk-eVhc0idzCd_w,6978
204
- tests/support/inspection/test_reflection_instance_with_abstract.py,sha256=HZn7BOtlHtKeIgJ2KATSQq9kjEPqhq5NtoNY7HQU0y0,4096
201
+ tests/support/inspection/test_reflection_abstract.py,sha256=K78avxUlI_dYKofSvVcuaVLAz-CivWSe3RkhrO-IRcA,9185
202
+ tests/support/inspection/test_reflection_instance.py,sha256=qwYu_y3wiZzhegrRo97r1bWxW2YGxDdnnU-Hq4lZtAE,6930
203
+ tests/support/inspection/test_reflection_instance_with_abstract.py,sha256=RNLf9RfRtM2nTY6Yfc8rPibSEVZkl8Pw2w962vsragk,4048
205
204
  tests/support/inspection/fakes/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
206
205
  tests/support/inspection/fakes/fake_reflection_abstract.py,sha256=7qtz44brfFzE4oNYi9kIsvdWP79nP2FnzSz-0bU__pg,5045
207
206
  tests/support/inspection/fakes/fake_reflection_instance.py,sha256=G16rZdJWC3L8SGEQkmwktvw4n7IAusIIx9Tm-ZFLcg4,1419
208
207
  tests/support/inspection/fakes/fake_reflection_instance_with_abstract.py,sha256=SfL8FuFmr650RlzXTrP4tGMfsPVZLhOxVnBXu_g1POg,1471
209
- orionis-0.208.0.dist-info/LICENCE,sha256=-_4cF2EBKuYVS_SQpy1uapq0oJPUU1vl_RUWSy2jJTo,1111
210
- orionis-0.208.0.dist-info/METADATA,sha256=QTcA2C1AAfSDvSXVYX8W8515ffwiWK5SKavkRrIYoFQ,3003
211
- orionis-0.208.0.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
212
- orionis-0.208.0.dist-info/entry_points.txt,sha256=a_e0faeSqyUCVZd0MqljQ2oaHHdlsz6g9sU_bMqi5zQ,49
213
- orionis-0.208.0.dist-info/top_level.txt,sha256=2bdoHgyGZhOtLAXS6Om8OCTmL24dUMC_L1quMe_ETbk,14
214
- orionis-0.208.0.dist-info/RECORD,,
208
+ orionis-0.210.0.dist-info/LICENCE,sha256=-_4cF2EBKuYVS_SQpy1uapq0oJPUU1vl_RUWSy2jJTo,1111
209
+ orionis-0.210.0.dist-info/METADATA,sha256=lDNgDlBv95FLobuXCOJdgmXaXKt4SA5NkDmViO8yI1w,3003
210
+ orionis-0.210.0.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
211
+ orionis-0.210.0.dist-info/entry_points.txt,sha256=a_e0faeSqyUCVZd0MqljQ2oaHHdlsz6g9sU_bMqi5zQ,49
212
+ orionis-0.210.0.dist-info/top_level.txt,sha256=2bdoHgyGZhOtLAXS6Om8OCTmL24dUMC_L1quMe_ETbk,14
213
+ orionis-0.210.0.dist-info/RECORD,,
@@ -1,5 +1,6 @@
1
- import unittest
2
- class TestExample(unittest.TestCase):
1
+ from orionis.luminate.test.test_case import TestCase
2
+
3
+ class TestExample(TestCase):
3
4
  """
4
5
  Unit tests for basic example functionality.
5
6
  """
@@ -1,10 +1,9 @@
1
1
  from abc import ABC
2
- import unittest
3
2
  from orionis.luminate.support.inspection.reflection import Reflection
4
- from orionis.luminate.test.test_output import PrinterInTest
3
+ from orionis.luminate.test.test_case import TestCase
5
4
  from tests.support.inspection.fakes.fake_reflection_abstract import FakeAbstractClass
6
5
 
7
- class TestReflexionAbstract(unittest.TestCase, PrinterInTest):
6
+ class TestReflexionAbstract(TestCase):
8
7
  """Test cases for ReflexionAbstract using FakeAbstractClass.
9
8
 
10
9
  This test suite verifies all functionality of the ReflexionAbstract class
@@ -1,10 +1,9 @@
1
- import unittest
2
1
  from orionis.luminate.support.inspection.reflection import Reflection
3
2
  from orionis.luminate.support.inspection.reflexion_instance import ReflexionInstance
4
- from orionis.luminate.test.test_output import PrinterInTest
3
+ from orionis.luminate.test.test_case import TestCase
5
4
  from tests.support.inspection.fakes.fake_reflection_instance import BaseFakeClass, FakeClass
6
5
 
7
- class TestReflection(unittest.TestCase, PrinterInTest):
6
+ class TestReflection(TestCase):
8
7
  """
9
8
  Unit tests for the Reflection class.
10
9
  """
@@ -1,9 +1,8 @@
1
- import unittest
2
1
  from orionis.luminate.support.inspection.reflexion_instance_with_abstract import ReflexionInstanceWithAbstract
3
- from orionis.luminate.test.test_output import PrinterInTest
2
+ from orionis.luminate.test.test_case import TestCase
4
3
  from tests.support.inspection.fakes.fake_reflection_instance_with_abstract import FakeDataProcessor, IDataProcessor
5
4
 
6
- class TestReflexionWithFakes(unittest.TestCase, PrinterInTest):
5
+ class TestReflexionWithFakes(TestCase):
7
6
 
8
7
  def testReflexionInstanceWithAbstractGetImplementationAnalysis(self):
9
8
  """Test reflexion con IDataProcessor y FakeDataProcessor."""
File without changes
@@ -1,48 +0,0 @@
1
- import os
2
- from orionis.luminate.contracts.facades.tests.tests_facade import IUnitTests
3
- from orionis.luminate.test.unit_test import UnitTest
4
-
5
- class UnitTests(IUnitTests):
6
- """
7
- Concrete implementation of the IUnitTests interface.
8
-
9
- This class provides the functionality to execute unit tests using a specified pattern
10
- to filter test files within the 'tests' directory and its subdirectories.
11
-
12
- Methods
13
- -------
14
- execute(pattern: str) -> dict
15
- Executes unit tests by iterating over the 'tests' directory and its subdirectories,
16
- matching test files based on the provided pattern.
17
- """
18
-
19
- @staticmethod
20
- def execute(pattern='test_*.py') -> dict:
21
- """
22
- Executes the unit tests in the 'tests' directory and its subdirectories
23
- by filtering test files based on a specified pattern.
24
-
25
- Parameters
26
- ----------
27
- pattern : str, optional
28
- The pattern to filter test files (default is 'test_*.py').
29
-
30
- Returns
31
- -------
32
- dict
33
- A dictionary containing the results of the executed tests.
34
- """
35
-
36
- # Initialize the test suite using the UnitTest framework
37
- test_suite = UnitTest()
38
-
39
- # Define the base directory for test files
40
- tests_path = os.path.join(os.getcwd(), 'tests')
41
-
42
- # Recursively walk through the 'tests' directory
43
- for root, dirs, files in os.walk(tests_path):
44
- for dir in dirs:
45
- test_suite.addFolder(folder_path=dir, pattern=pattern)
46
-
47
- # Execute the tests and return the results
48
- return test_suite.run()
File without changes