'Tests creation and insertion of various types with models,
and their retrieval.
@since 3.1
@jira_ticket PYTHON-306
@expected_result Model is successfully created and fetched correctly
@test_category object_mapper'

def test_io_success(self):

    m1 = TestTupleModel.create(int_tuple=(1, 2, 3, 5, 6), text_tuple=('kai', 'andreas'), mixed_tuple=('first', 2, 'Third'))
    m2 = TestTupleModel.get(partition=m1.partition)
    self.assertIsInstance(m2.int_tuple, tuple)
    self.assertIsInstance(m2.text_tuple, tuple)
    self.assertIsInstance(m2.mixed_tuple, tuple)
    self.assertEqual((1, 2, 3), m2.int_tuple)
    self.assertEqual(('kai', 'andreas'), m2.text_tuple)
    self.assertEqual(('first', 2, 'Third'), m2.mixed_tuple)
