def METHOD_NAME(self):
    opt_fw = OptimizeFW(self.structure)
    self.assertEqual(
        NonSCFFW(structure=self.structure, parents=opt_fw).name, "Si-nscf uniform"
    )
    self.assertEqual(
        NonSCFFW(structure=self.structure, parents=opt_fw, mode="line").name,
        "Si-nscf line",
    )
    nscf_fw = NonSCFFW(prev_calc_dir="/")
    self.assertEqual(nscf_fw.name, "unknown-nscf uniform")
    self.assertEqual(nscf_fw.tasks[0]["calc_dir"], "/")
    nscf_fw = NonSCFFW(parents=opt_fw)
    self.assertEqual(nscf_fw.name, "unknown-nscf uniform")
    self.assertTrue(nscf_fw.tasks[0]["calc_loc"])
    self.assertRaises(ValueError, NonSCFFW)