def METHOD_NAME(self):
    d = self._get_dict()
    d_flat = openmediavault.collectiontools.DotCollapsedDict(d)
    self.assertEqual(
        d_flat,
        {
            'x': 3,
            'a.b.c': 100,
            'k[0]': 'u',
            'k[1]': 'i',
            'k[2]': 'o',
            'y.z[0].aa': '1',
            'y.z[0].bb': '2',
            'y.z[0].cc': '3',
            'y.z[1].aa': '11',
            'y.z[1].bb': '22',
            'y.z[1].cc': '33',
        },
    )