Skip to content

Commit e43ca09

Browse files
authoredMar 27, 2024
Update test_metadata.py to correct the location for TC_RR* test script
1 parent cd35abd commit e43ca09

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎scripts/tests/py/test_metadata.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ class TestMetadataReader(unittest.TestCase):
2323
def setUp(self):
2424

2525
# build the reader object
26-
self.reader=Metadata_Reader("/src/python_testing", "/scripts/tests/py/env.yaml")
26+
self.reader=Metadata_Reader("/scripts/tests/py", "/scripts/tests/py/env.yaml")
2727
self.actual_runs_metadata = self.reader.get_runs_metadata()
2828
self.expected_runs_metadata = {}
2929

30-
self.expected_runs_metadata["/src/python_testing/TC_RR_1_1.py+run1"] = Metadata(app="out/linux-x64-all-clusters-ipv6only-no-ble-no-wifi-tsan-clang-test/chip-all-clusters-app",
31-
discriminator=1234, py_script_path="/src/python_testing/TC_RR_1_1.py", run="run1", passcode=20202021)
30+
self.expected_runs_metadata["/scripts/tests/py/TC_RR_1_1_Test.py+run1"] = Metadata(app="out/linux-x64-all-clusters-ipv6only-no-ble-no-wifi-tsan-clang-test/chip-all-clusters-app",
31+
discriminator=1234, py_script_path="/scripts/tests/py/TC_RR_1_1_Test.py", run="run1", passcode=20202021)
3232

3333
# gets the metadata associated with each run by parsing the test script and compares it to the expected metadata values
3434
def test_case1(self):

0 commit comments

Comments
 (0)