Skip to content

Commit f22c57e

Browse files
Fixed the support scripts from matter_testing_support
1 parent fd660eb commit f22c57e

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

src/python_testing/matter_testing_infrastructure/matter_testing_support/choice_conformance.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
from chip.tlv import uint
2-
from testing_support.conformance import Choice, ConformanceDecisionWithChoice
3-
from testing_support.global_attribute_ids import GlobalAttributeIds
4-
from testing_support.matter_testing import AttributePathLocation, ProblemNotice, ProblemSeverity
5-
from testing_support.spec_parsing import XmlCluster
2+
from matter_testing_support.conformance import Choice, ConformanceDecisionWithChoice
3+
from matter_testing_support.global_attribute_ids import GlobalAttributeIds
4+
from matter_testing_support.matter_testing import AttributePathLocation, ProblemNotice, ProblemSeverity
5+
from matter_testing_support.spec_parsing import XmlCluster
66

77

88
class ChoiceConformanceProblemNotice(ProblemNotice):

src/python_testing/matter_testing_infrastructure/matter_testing_support/matter_testing.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@
6161
from chip.setup_payload import SetupPayload
6262
from chip.storage import PersistentStorage
6363
from chip.tracing import TracingContext
64-
from testing_support.global_attribute_ids import GlobalAttributeIds
64+
from matter_testing_support.global_attribute_ids import GlobalAttributeIds
6565
from mobly import asserts, base_test, signals, utils
6666
from mobly.config_parser import ENV_MOBLY_LOGPATH, TestRunConfig
6767
from mobly.test_runner import TestRunner
68-
from testing_support.pics import read_pics_from_file
68+
from matter_testing_support.pics import read_pics_from_file
6969

7070
try:
7171
from matter_yamltests.hooks import TestRunnerHooks
@@ -2014,7 +2014,7 @@ def default_matter_test_main():
20142014
In this case, only one test class in a test script is allowed.
20152015
To make your test script executable, add the following to your file:
20162016
.. code-block:: python
2017-
from testing_support.matter_testing.py import default_matter_test_main
2017+
from matter_testing_support.matter_testing.py import default_matter_test_main
20182018
...
20192019
if __name__ == '__main__':
20202020
default_matter_test_main.main()

src/python_testing/matter_testing_infrastructure/matter_testing_support/spec_parsing.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@
2727

2828
import chip.clusters as Clusters
2929
from chip.tlv import uint
30-
from testing_support.conformance import (OPTIONAL_CONFORM, TOP_LEVEL_CONFORMANCE_TAGS, ConformanceDecision, ConformanceException,
31-
ConformanceParseParameters, feature, is_disallowed, mandatory, optional, or_operation,
32-
parse_callable_from_xml, parse_device_type_callable_from_xml)
33-
from testing_support.global_attribute_ids import GlobalAttributeIds
34-
from testing_support.matter_testing import (AttributePathLocation, ClusterPathLocation, CommandPathLocation, DeviceTypePathLocation,
35-
EventPathLocation, FeaturePathLocation, ProblemNotice, ProblemSeverity)
30+
from matter_testing_support.conformance import (OPTIONAL_CONFORM, TOP_LEVEL_CONFORMANCE_TAGS, ConformanceDecision, ConformanceException,
31+
ConformanceParseParameters, feature, is_disallowed, mandatory, optional, or_operation,
32+
parse_callable_from_xml, parse_device_type_callable_from_xml)
33+
from matter_testing_support.global_attribute_ids import GlobalAttributeIds
34+
from matter_testing_support.matter_testing import (AttributePathLocation, ClusterPathLocation, CommandPathLocation, DeviceTypePathLocation,
35+
EventPathLocation, FeaturePathLocation, ProblemNotice, ProblemSeverity)
3636

3737
_PRIVILEGE_STR = {
3838
None: "N/A",

0 commit comments

Comments
 (0)