'Testing append to list'

def test_append_twice_to_list(self):

    yed = Yedit('yedit_test.yml', separator=':')
    yed.put('x:y:z', [1, 2, 3])
    yed.append('x:y:z', [5, 6])
    yed.append('x:y:z', [5, 6])
    self.assertTrue((yed.get('x:y:z') == [1, 2, 3, [5, 6], [5, 6]]))
    self.assertFalse(yed.exists('x:y:z', 4))
