1from Quartz import * 2from PyObjCTools.TestSupport import * 3 4try: 5 unicode 6except NameError: 7 unicode = str 8 9 10class TestCAShapeLayer (TestCase): 11 @min_os_level('10.6') 12 def testConstants10_6(self): 13 self.assertIsInstance(kCAFillRuleNonZero, unicode) 14 self.assertIsInstance(kCAFillRuleEvenOdd, unicode) 15 self.assertIsInstance(kCALineJoinMiter, unicode) 16 self.assertIsInstance(kCALineJoinRound, unicode) 17 self.assertIsInstance(kCALineJoinBevel, unicode) 18 self.assertIsInstance(kCALineCapButt, unicode) 19 self.assertIsInstance(kCALineCapRound, unicode) 20 self.assertIsInstance(kCALineCapSquare, unicode) 21 22if __name__ == "__main__": 23 main() 24