Browse Source

refactor(scripts): capitalize ZMK in west test script

xmkb
innovaker 4 years ago committed by Pete Johanson
parent
commit
3bf01200f7
  1. 2
      app/scripts/west-commands.yml
  2. 4
      app/scripts/west_commands/test.py

2
app/scripts/west-commands.yml

@ -6,4 +6,4 @@ west-commands:
commands: commands:
- name: test - name: test
class: Test class: Test
help: run zmk testsuite help: run ZMK testsuite

4
app/scripts/west_commands/test.py

@ -14,9 +14,9 @@ class Test(WestCommand):
def __init__(self): def __init__(self):
super().__init__( super().__init__(
'test', # gets stored as self.name 'test', # gets stored as self.name
'run zmk testsuite', # self.help 'run ZMK testsuite', # self.help
# self.description: # self.description:
dedent('''Run the zmk testsuite.''')) dedent('''Run the ZMK testsuite.'''))
def do_add_parser(self, parser_adder): def do_add_parser(self, parser_adder):
parser = parser_adder.add_parser(self.name, parser = parser_adder.add_parser(self.name,

Loading…
Cancel
Save