def test_list_no_xattr(self):
        # Clear existing attributes
        self.assertTrue(self.run_function('xattr.clear', [TEST_FILE]))

        # Test no attributes
        self.assertEqual(self.run_function('xattr.list', [TEST_FILE]), {})

        # Test file not found
        self.assertEqual(self.run_function('xattr.list', [NO_FILE]),
                         'ERROR: File not found: {0}'.format(NO_FILE))
Get the fully-qualified file path for a package
dataset/ETHPy150Open saltstack/salt/tests/integration/modules/mac_xattr.py/MacXattrModuleTest.test_list_no_xattr--crossover with--dataset/ETHPy150Open mathcamp/pypicloud/pypicloud/storage/files.py/FileStorage.get_path