'Tests that the default empty nested collection container is not saved if it hasn\'t been updated
@since 3.1
@jira_ticket PYTHON-478
@expected_result empty nested collection is not upserted
@test_category object_mapper'

def test_default_empty_container_saving(self):

    pkey = uuid4()
    list_list_master = [[1, 2, 3], [2, 3, 4], [3, 4, 5]]
    map_list_master = {'key1': ['text1', 'text2', 'text3'], 'key2': ['text1', 'text2', 'text3'], 'key3': ['text1', 'text2', 'text3']}
    set_tuple_master = set(((1, 2), (3, 5), (4, 5)))
    TestNestedModel.create(partition=pkey, list_list=list_list_master, map_list=map_list_master, set_tuple=set_tuple_master)
    TestNestedModel.create(partition=pkey)
    m = TestNestedModel.get(partition=pkey)
    self.assertEqual(m.list_list, list_list_master)
    self.assertEqual(m.map_list, map_list_master)
    self.assertEqual(m.set_tuple, set_tuple_master)
