PEP8: fix E303: too many blank lines (2)
[sfrench/samba-autobuild/.git] / python / samba / tests / samba_tool / user.py
index d04e835b2e8a3dd835ed71f1047eef93f522f8a6..37f21c517a4f3218d90c9a18063a10ce3005cede 100644 (file)
@@ -58,7 +58,6 @@ class UserCmdTestCase(SambaToolCmdTest):
 
             user["checkUserFn"](user)
 
-
     def tearDown(self):
         super(UserCmdTestCase, self).tearDown()
         # clean up all the left over users, just in case
@@ -66,7 +65,6 @@ class UserCmdTestCase(SambaToolCmdTest):
             if self._find_user(user["name"]):
                 self.runsubcmd("user", "delete", user["name"])
 
-
     def test_newuser(self):
         # try to add all the users again, this should fail
         for user in self.users:
@@ -303,9 +301,6 @@ class UserCmdTestCase(SambaToolCmdTest):
             self.assertEquals(err, "", "setpassword with forced change")
             self.assertMatch(out, "Changed password OK", "setpassword with forced change")
 
-
-
-
     def test_setexpiry(self):
         for user in self.users:
             twodays = time.time() + (2 * 24 * 60 * 60)
@@ -344,7 +339,6 @@ class UserCmdTestCase(SambaToolCmdTest):
                 expires = nttime2unix(int("%s" % found.get("accountExpires")))
                 self.assertWithin(expires, twodays, 5, "Ensure account expires is within 5 seconds of the expected time")
 
-
     def test_list(self):
         (result, out, err) = self.runsubcmd("user", "list",
                                             "-H", "ldap://%s" % os.environ["DC_SERVER"],