Addon Manager: Refactor Metadata
Create a Python-native metadata class. Includes unit tests, and some PyLint cleanup.
This commit is contained in:
committed by
Chris Hennes
parent
8532c96c20
commit
1f6c364fa6
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user