Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
myakove committed Feb 2, 2021
1 parent 5aa8162 commit 6e5e580
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,6 @@ def command(self, cmd):
return FakeExecutor.Command(cmd, self)

def run_cmd(self, cmd, input_=None, timeout=None):
if self._executor.sudo:
cmd.insert(0, "sudo")

cmd = self.command(cmd)
return cmd.run(input_, timeout)

Expand Down

0 comments on commit 6e5e580

Please sign in to comment.