summaryrefslogtreecommitdiff
path: root/tests/kms-test-connectors.py
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-06-10 01:14:59 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-06-29 21:08:18 +0300
commitf4cc3b79980c4d9b5a4485f38e354b62811dd52c (patch)
treeb955031c87719a7f46fc1269601dcd53751eff08 /tests/kms-test-connectors.py
parent322821a1381f81c4dd480d065bec13803c7e69dc (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-xtests/kms-test-connectors.py6
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()