def METHOD_NAME(self):
    """Check that path as str is correctly split"""
    ref_db = "does/not/exist"
    ref_location = "test_location_A"
    ref_mapset = "test_mapset_1"
    path = Path(ref_db) / ref_location / ref_mapset
    new_db, new_location, new_mapset = split_mapset_path(str(path))
    self.assertEqual(new_db, ref_db)
    self.assertEqual(new_location, ref_location)
    self.assertEqual(new_mapset, ref_mapset)