def test_FlatMap_copy(content): flatmap = FlatMap(None, init=content) dct = flatmap.as_dict() assert dct == content