def METHOD_NAME(self):
    good_file = os.path.join(self.test_dir, "good_macro_metadata.FCStd")
    version = get_macro_version_from_file(good_file)
    self.assertEqual(version, "1.2.3")
    bad_file = os.path.join(self.test_dir, "bad_macro_metadata.FCStd")
    version = get_macro_version_from_file(bad_file)
    self.assertEqual(version, "", "Bad version did not yield empty string")
    empty_file = os.path.join(self.test_dir, "missing_macro_metadata.FCStd")
    version = get_macro_version_from_file(empty_file)
    self.assertEqual(version, "", "Missing version did not yield empty string")