def METHOD_NAME(self):
    """
    Test xattr.clear
    """
    # Clear existing attributes
    self.assertTrue(self.run_function("xattr.clear", [self.test_file]))
    # Write some attributes
    self.assertTrue(
        self.run_function(
            "xattr.write", [self.test_file, "spongebob", "squarepants"]
        )
    )
    self.assertTrue(
        self.run_function("xattr.write", [self.test_file, "squidward", "plankton"])
    )
    self.assertTrue(
        self.run_function("xattr.write", [self.test_file, "crabby", "patty"])
    )
    # Test Clear
    self.assertTrue(self.run_function("xattr.clear", [self.test_file]))
    # Test file not found
    self.assertEqual(
        self.run_function("xattr.clear", [self.no_file]),
        "ERROR: File not found: {}".format(self.no_file),
    )