orionis 0.209.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 +1 -1
- orionis/luminate/test/{tests.py → test_suite.py} +1 -1
- {orionis-0.209.0.dist-info → orionis-0.210.0.dist-info}/METADATA +1 -1
- {orionis-0.209.0.dist-info → orionis-0.210.0.dist-info}/RECORD +9 -11
- orionis/luminate/facades/tests/__init__.py +0 -0
- orionis/luminate/facades/tests/tests_facade.py +0 -48
- /orionis/luminate/test/{unit_test.py → test_unit.py} +0 -0
- {orionis-0.209.0.dist-info → orionis-0.210.0.dist-info}/LICENCE +0 -0
- {orionis-0.209.0.dist-info → orionis-0.210.0.dist-info}/WHEEL +0 -0
- {orionis-0.209.0.dist-info → orionis-0.210.0.dist-info}/entry_points.txt +0 -0
- {orionis-0.209.0.dist-info → orionis-0.210.0.dist-info}/top_level.txt +0 -0
orionis/framework.py
CHANGED
@@ -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=
|
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
|
@@ -184,8 +182,8 @@ orionis/luminate/test/test_exception.py,sha256=21PILTXnMuL5-wT3HGKjIklt8VeIYDcQD
|
|
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
184
|
orionis/luminate/test/test_std_out.py,sha256=annYLGDkskRpMuLwTAswwrgrYmwsXIyKE02M_ePv-qc,2765
|
187
|
-
orionis/luminate/test/
|
188
|
-
orionis/luminate/test/
|
185
|
+
orionis/luminate/test/test_suite.py,sha256=eg3OwknndYSNCip_f5twpaJSFrBIuKpZQgUwBORblWA,2218
|
186
|
+
orionis/luminate/test/test_unit.py,sha256=HtPDWzFXpgFwWYej8z2BArU4k5lItH57K_E-l21MBWo,12070
|
189
187
|
orionis/static/ascii/icon.ascii,sha256=IgrlVjcYxcCrr0cJuJkOnEz0aEdAQBTyLzO5ainKsWc,398
|
190
188
|
orionis/static/ascii/info.ascii,sha256=HF_o2eXaiw5iqcOhHfnPByn5GJ_O2eBwSK3IpTfYOwY,457
|
191
189
|
orionis/static/bg/galaxy.jpg,sha256=_FuPghOe9LBrIWv1eKZ9fiZR72sEz5obvXGDnD7MzTc,172244
|
@@ -207,9 +205,9 @@ tests/support/inspection/fakes/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
|
|
207
205
|
tests/support/inspection/fakes/fake_reflection_abstract.py,sha256=7qtz44brfFzE4oNYi9kIsvdWP79nP2FnzSz-0bU__pg,5045
|
208
206
|
tests/support/inspection/fakes/fake_reflection_instance.py,sha256=G16rZdJWC3L8SGEQkmwktvw4n7IAusIIx9Tm-ZFLcg4,1419
|
209
207
|
tests/support/inspection/fakes/fake_reflection_instance_with_abstract.py,sha256=SfL8FuFmr650RlzXTrP4tGMfsPVZLhOxVnBXu_g1POg,1471
|
210
|
-
orionis-0.
|
211
|
-
orionis-0.
|
212
|
-
orionis-0.
|
213
|
-
orionis-0.
|
214
|
-
orionis-0.
|
215
|
-
orionis-0.
|
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,,
|
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
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|