1 2from PyObjCTools.TestSupport import * 3from QTKit import * 4 5class TestQTCaptureView (TestCase): 6 def testMethods(self): 7 self.assertResultIsBOOL(QTCaptureView.preservesAspectRatio) 8 9 def testProtocols(self): 10 self.assertIsInstance(protocols.QTCaptureViewDelegate, objc.informal_protocol) 11 12if __name__ == "__main__": 13 main() 14