Addon Manager: Refactor Metadata

Create a Python-native metadata class. Includes unit tests, and some PyLint cleanup.
This commit is contained in:
Chris Hennes
2023-03-03 09:36:53 -06:00
committed by Chris Hennes
parent 8532c96c20
commit 1f6c364fa6
19 changed files with 1471 additions and 524 deletions

View File

@@ -52,6 +52,14 @@ from AddonManagerTest.app.test_freecad_interface import (
TestParameters as AddonManagerTestParameters,
TestDataPaths as AddonManagerTestDataPaths,
)
from AddonManagerTest.app.test_metadata import (
TestDependencyType as AddonManagerTestDependencyType,
TestMetadataReader as AddonManagerTestMetadataReader,
TestMetadataReaderIntegration as AddonManagerTestMetadataReaderIntegration,
TestUrlType as AddonManagerTestUrlType,
TestVersion as AddonManagerTestVersion,
TestMetadataAuxiliaryFunctions as AddonManagerTestMetadataAuxiliaryFunctions
)
class TestListTerminator:
@@ -76,6 +84,12 @@ loaded_gui_tests = [
AddonManagerTestConsole,
AddonManagerTestParameters,
AddonManagerTestDataPaths,
AddonManagerTestDependencyType,
AddonManagerTestMetadataReader,
AddonManagerTestMetadataReaderIntegration,
AddonManagerTestUrlType,
AddonManagerTestVersion,
AddonManagerTestMetadataAuxiliaryFunctions,
TestListTerminator # Needed to prevent the last test from running twice
]
for test in loaded_gui_tests: