diff --git a/scripts/idl/BUILD.gn b/scripts/idl/BUILD.gn index 00166c136659e7..8e83489c058ca9 100644 --- a/scripts/idl/BUILD.gn +++ b/scripts/idl/BUILD.gn @@ -28,8 +28,8 @@ pw_python_package("idl") { sources = [ "__init__.py", "matter_idl_types.py", - "parser.py", + "matter_idl_parser.py", ] - tests = [ "test_parsing.py" ] + tests = [ "test_matter_idl_parser.py" ] } diff --git a/scripts/idl/parser.py b/scripts/idl/matter_idl_parser.py similarity index 100% rename from scripts/idl/parser.py rename to scripts/idl/matter_idl_parser.py diff --git a/scripts/idl/test_parsing.py b/scripts/idl/test_matter_idl_parser.py similarity index 98% rename from scripts/idl/test_parsing.py rename to scripts/idl/test_matter_idl_parser.py index 016684b19fcfd7..23e1d691f9d81b 100755 --- a/scripts/idl/test_parsing.py +++ b/scripts/idl/test_matter_idl_parser.py @@ -15,14 +15,14 @@ # limitations under the License. try: - from .parser import CreateParser + from .matter_idl_parser import CreateParser from .matter_idl_types import * except: import os import sys sys.path.append(os.path.abspath(os.path.dirname(__file__))) - from parser import CreateParser + from matter_idl_parser import CreateParser from matter_idl_types import * import unittest