Beispiel #1
0
 def test_get(self):
     styles = _DimStyles()
     styles.new('TESTSTYLE', layer="TESTLAYER")
     style = styles.get('TESTSTYLE')
     self.assertEqual(style.layer, "TESTLAYER")
Beispiel #2
0
 def test_get(self):
     styles = _DimStyles()
     styles.new('TESTSTYLE', layer="TESTLAYER")
     style = styles.get('TESTSTYLE')
     self.assertEqual(style.layer, "TESTLAYER")
Beispiel #3
0
 def test_setup(self):
     dwg = Drawing()
     styles = _DimStyles()
     styles.setup(dwg)
     self.assertTrue(len(dwg.blocks))
Beispiel #4
0
 def test_setup(self):
     dwg = Drawing()
     styles = _DimStyles()
     styles.setup(dwg)
     self.assertTrue(len(dwg.blocks))