git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87a8325
)
tests group_audit: PEP8 cleanup.
author
Gary Lockyer
<gary@catalyst.net.nz>
Tue, 18 Dec 2018 20:29:23 +0000
(09:29 +1300)
committer
Andrew Bartlett
<abartlet@samba.org>
Fri, 21 Dec 2018 21:16:09 +0000
(22:16 +0100)
Remove Flake8 warnings from the group audit JSON log tests.
Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/tests/group_audit.py
patch
|
blob
|
history
diff --git
a/python/samba/tests/group_audit.py
b/python/samba/tests/group_audit.py
index 9fe69bd1fc015b4a20f83336f10c4a302790f2a6..b8c90a325d53d133c821f7d831f5aacacf18f95e 100644
(file)
--- a/
python/samba/tests/group_audit.py
+++ b/
python/samba/tests/group_audit.py
@@
-47,7
+47,7
@@
class GroupAuditTests(AuditLogTestBase):
def setUp(self):
self.message_type = MSG_GROUP_LOG
- self.event_type
= DSDB_GROUP_EVENT_NAME
+ self.event_type = DSDB_GROUP_EVENT_NAME
super(GroupAuditTests, self).setUp()
self.remoteAddress = os.environ["CLIENT_IP"]