Skip to content

Commit

Permalink
Remove PAA Cert from test_definition (#18910)
Browse files Browse the repository at this point in the history
  • Loading branch information
krypton36 authored and pull[bot] committed Jul 16, 2022
1 parent c6748ac commit 4077366
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions scripts/tests/chiptest/test_definition.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
from random import randrange

TEST_NODE_ID = '0x12344321'
DEVELOPMENT_PAA_LIST = './credentials/development/paa-root-certs'


class App:
Expand Down Expand Up @@ -264,16 +263,10 @@ def Run(self, runner, apps_register, paths: ApplicationPaths, pics_file: str):
app = apps_register.get('default')
app.start()
pairing_cmd = tool_cmd + ['pairing', 'code', TEST_NODE_ID, app.setupCode]
if sys.platform != 'darwin':
pairing_cmd.append('--paa-trust-store-path')
pairing_cmd.append(DEVELOPMENT_PAA_LIST)
runner.RunSubprocess(pairing_cmd,
name='PAIR', dependencies=[apps_register])

test_cmd = tool_cmd + ['tests', self.run_name] + ['--PICS', pics_file]
if sys.platform != 'darwin':
test_cmd.append('--paa-trust-store-path')
test_cmd.append(DEVELOPMENT_PAA_LIST)
runner.RunSubprocess(
test_cmd,
name='TEST', dependencies=[apps_register])
Expand Down

0 comments on commit 4077366

Please # to comment.