def _cascading_types_helper(self, enum1, enum2): ctypes = CascadingTypes() ctypes.comp_insttype = enum1 ctypes.comp_nicinsttype = enum2 self.crud.create(self.ncc, ctypes) # Read into Runner1 ctypesRead = CascadingTypes() ctypesRead = self.crud.read(self.ncc, ctypesRead) # Compare runners self.assertEqual(ctypes, ctypesRead)
def tearDown(self): runner = Runner() self.crud.delete(self.ncc, runner) ctypes = CascadingTypes() self.crud.delete(self.ncc, ctypes)