def METHOD_NAME(self):
    """Test that label replaces the model name in the file name if set."""
    nest.ResetKernel()
    nest.overwrite_files = True
    label = "label"
    mm_params = {
        "record_to": "ascii",
        "record_from": ["V_m"],
        "label": label,
    }
    mm = nest.Create("multimeter", mm_params)
    fname = mm.get("filenames")[0]
    self.assertTrue(label in fname)
    self.assertTrue(mm.get("model") not in fname)