summaryrefslogtreecommitdiff
path: root/python/samba/tests/xattr.py
diff options
context:
space:
mode:
authorJoe Guo <joeg@catalyst.net.nz>2018-07-30 18:16:12 +1200
committerDouglas Bagnall <dbagnall@samba.org>2018-08-24 07:49:27 +0200
commit5d532543abdcb605fd1432eeaa36135bdac8a884 (patch)
tree73d3b04134a841dfe157b150754b797cdb992781 /python/samba/tests/xattr.py
parentbbb9f57603de490b39e5ad1b71e36f127291194b (diff)
downloadsamba-5d532543abdcb605fd1432eeaa36135bdac8a884.tar.gz
PEP8: fix E128: continuation line under-indented for visual indent
Signed-off-by: Joe Guo <joeg@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Diffstat (limited to 'python/samba/tests/xattr.py')
-rw-r--r--python/samba/tests/xattr.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/python/samba/tests/xattr.py b/python/samba/tests/xattr.py
index c99ffcf0087..ca25afbdcd7 100644
--- a/python/samba/tests/xattr.py
+++ b/python/samba/tests/xattr.py
@@ -49,7 +49,7 @@ class XattrTests(TestCase):
open(tempf, 'w').write("empty")
try:
samba.xattr_native.wrap_setxattr(tempf, "user.unittests",
- ndr_pack(ntacl))
+ ndr_pack(ntacl))
except IOError:
raise SkipTest("the filesystem where the tests are runned do not support XATTR")
os.unlink(tempf)
@@ -76,7 +76,7 @@ class XattrTests(TestCase):
open(tempf, 'w').write("empty")
try:
samba.xattr_tdb.wrap_setxattr(eadb_path,
- tempf, "user.unittests", ndr_pack(ntacl))
+ tempf, "user.unittests", ndr_pack(ntacl))
finally:
os.unlink(tempf)
os.unlink(eadb_path)
@@ -88,8 +88,8 @@ class XattrTests(TestCase):
open(tempf, 'w').write("empty")
try:
self.assertRaises(IOError, samba.xattr_tdb.wrap_setxattr,
- os.path.join("nonexistent", "eadb.tdb"), tempf,
- "user.unittests", ndr_pack(ntacl))
+ os.path.join("nonexistent", "eadb.tdb"), tempf,
+ "user.unittests", ndr_pack(ntacl))
finally:
os.unlink(tempf)
@@ -100,9 +100,9 @@ class XattrTests(TestCase):
open(tempf, 'w').write("empty")
try:
samba.xattr_tdb.wrap_setxattr(eadb_path, tempf, "user.unittests",
- reftxt)
+ reftxt)
text = samba.xattr_tdb.wrap_getxattr(eadb_path, tempf,
- "user.unittests")
+ "user.unittests")
self.assertEquals(text, reftxt)
finally:
os.unlink(tempf)
@@ -116,7 +116,7 @@ class XattrTests(TestCase):
open(tempf, 'w').write("empty")
try:
samba.posix_eadb.wrap_setxattr(eadb_path,
- tempf, "user.unittests", ndr_pack(ntacl))
+ tempf, "user.unittests", ndr_pack(ntacl))
finally:
os.unlink(tempf)
os.unlink(eadb_path)
@@ -128,9 +128,9 @@ class XattrTests(TestCase):
open(tempf, 'w').write("empty")
try:
samba.posix_eadb.wrap_setxattr(eadb_path, tempf, "user.unittests",
- reftxt)
+ reftxt)
text = samba.posix_eadb.wrap_getxattr(eadb_path, tempf,
- "user.unittests")
+ "user.unittests")
self.assertEquals(text, reftxt)
finally:
os.unlink(tempf)