diff options
Diffstat (limited to 'tests/kms-test-routing.py')
-rwxr-xr-x | tests/kms-test-routing.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/kms-test-routing.py b/tests/kms-test-routing.py index 806adb8..69f8be1 100755 --- a/tests/kms-test-routing.py +++ b/tests/kms-test-routing.py @@ -49,7 +49,7 @@ class RoutingTest(kmstest.KMSTest): break if not shared_connector: - self.skip("No suitable connector") + self.skip('No suitable connector') return # Allocate planes for each CRTC. @@ -61,13 +61,13 @@ class RoutingTest(kmstest.KMSTest): pool = [(elem[0], [p for p in elem[1] if p != pipe.plane]) for elem in pool[:-1]] # Create a framebuffer big enough for all connectors. - fb = pykms.DumbFramebuffer(self.card, max_hdisplay, max_vdisplay, "XR24") + fb = pykms.DumbFramebuffer(self.card, max_hdisplay, max_vdisplay, 'XR24') pykms.draw_test_pattern(fb) - self.start("Moving connector %s between CRTCs %s" % \ + self.start('Moving connector %s between CRTCs %s' % \ (shared_connector.fullname, [pipe.crtc.id for pipe in pipes])) - self.logger.log("Highest display resolution: %ux%u" % (max_hdisplay, max_vdisplay)) + self.logger.log('Highest display resolution: %ux%u' % (max_hdisplay, max_vdisplay)) for master_pipe in pipes: req = kmstest.AtomicRequest(self) @@ -97,13 +97,13 @@ class RoutingTest(kmstest.KMSTest): 'CRTC_H': mode.vdisplay, }) - route.append("CRTC %u to connector %s" % (pipe.crtc.id, pipe.connector.fullname)) + route.append('CRTC %u to connector %s' % (pipe.crtc.id, pipe.connector.fullname)) - self.logger.log("Routing " + ", ".join(route)) + self.logger.log('Routing ' + ', '.join(route)) ret = req.commit_sync(True) if ret < 0: - self.fail("atomic commit failed with %d" % ret) + self.fail('atomic commit failed with %d' % ret) return time.sleep(5) |