def METHOD_NAME(self, config):
    config.__getitem__.return_value = os.path.join(
        os.path.dirname(os.path.abspath(__file__)), "testdata"
    )
    result = list_areas("test_areas")
    self.assertEqual(len(result), 1)
    self.assertEqual(
        result[0],
        {
            "centroids": [(-48.75, 47.45)],
            "innerrings": [],
            "key": "test_areas/A1",
            "name": "A1",
            "polygons": [
                [
                    (45.6, -51.3),
                    (45.6, -46.2),
                    (49.3, -46.2),
                    (49.3, -51.3),
                    (45.6, -51.3),
                ]
            ],
        },
    )