def METHOD_NAME(self):
    """Check that a non-existing path is correctly parsed."""
    path = "does/not/exist/"
    location_name = "test_location_A"
    mapset_name = "test_mapset_1"
    full_path = str(Path(path) / location_name / mapset_name)
    mapset_path = resolve_mapset_path(path=full_path)
    self.assertEqual(mapset_path.directory, str(Path(path).resolve()))
    self.assertEqual(mapset_path.location, location_name)
    self.assertEqual(mapset_path.mapset, mapset_name)
    self.assertEqual(
        mapset_path.path, Path(path).resolve() / location_name / mapset_name
    )