from SAMConverter_ConvertPrimitives import *
from SAMConverter_ConvertSketch import *
-def test_dictionary_valid(self, sketch_object_list, dictionary):
- pass
-
class TestConvertSketch(unittest.TestCase):
def test_convert_sketch(self):
model.begin()
partSet = model.moduleDocument()
+ Part_1 = model.addPart(partSet)
Part_1_doc = Part_1.document()
Sketch_1 = model.addSketch(Part_1_doc, model.defaultPlane("XOZ"))
object_list.append(SketchRadius_1)
object_list.append(SketchRadius_2)
- exchange_elements, dictionary = SAMConverter_ConvertSketch.convert_sketch(Sketch_1)
+ exchange_elements, dictionary = convert_sketch(Sketch_1)
+
+ self.assertEqual(len(object_list), len(exchange_elements.sequence))