def METHOD_NAME(self):
    yaml_file = tempfile.mktemp(suffix=".yml")
    with open(yaml_file, "w") as fp:
        fp.write("this: that\nlist: [1,2,3]\n")
    class KadetObjFromYaml(BaseObj):
        def new(self):
            self.root_file(yaml_file)
    output = KadetObjFromYaml().dump()
    desired_output = {"this": "that", "list": [1, 2, 3]}
    self.assertEqual(output, desired_output)