diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-06-10 01:14:59 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-06-29 21:08:18 +0300 |
commit | f4cc3b79980c4d9b5a4485f38e354b62811dd52c (patch) | |
tree | b955031c87719a7f46fc1269601dcd53751eff08 /tests/kms-test-connectors.py | |
parent | 322821a1381f81c4dd480d065bec13803c7e69dc (diff) |
tests: Replace double quotes with single quotes
The code base mixes single and double quotes. Standardize on single
quotes except for triple-quoted strings (to match the PEP8 coding style)
and where the string contains single quotes to avoid the need to escape
them.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'tests/kms-test-connectors.py')
-rwxr-xr-x | tests/kms-test-connectors.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/kms-test-connectors.py b/tests/kms-test-connectors.py index 4c58b99..54cc89f 100755 --- a/tests/kms-test-connectors.py +++ b/tests/kms-test-connectors.py @@ -10,19 +10,19 @@ class ConnectorsTest(kmstest.KMSTest): def main(self): for connector in self.card.connectors: - self.start("connector %s" % connector.fullname) + self.start('connector %s' % connector.fullname) # Every connector should have at least one suitable CRTC crtcs = connector.get_possible_crtcs() if len(crtcs) == 0: - self.fail("no possible CRTC") + self.fail('no possible CRTC') continue # Connected connectors should have at least one mode if connector.connected(): modes = connector.get_modes() if len(modes) == 0: - self.fail("no mode available") + self.fail('no mode available') continue self.success() |