Skip to content

Commit

Permalink
tests: users: remove redundant cleanup operations
Browse files Browse the repository at this point in the history
nonDestructiveSetup() in testlib.py already restores /etc/{passwd,group}
and friends.
  • Loading branch information
KKoukiou authored and martinpitt committed Feb 23, 2023
1 parent 71a9d00 commit 4c3451a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions test/verify/check-users
Original file line number Diff line number Diff line change
Expand Up @@ -858,9 +858,6 @@ class TestAccounts(MachineCase):

def testGroupCreate(self):
b = self.browser
m = self.machine
self.addCleanup(m.execute, "groupdel saturn || true")
self.addCleanup(m.execute, "groupdel titan || true")

self.login_and_go("/users")

Expand Down

0 comments on commit 4c3451a

Please sign in to comment.