Skip to content

Commit

Permalink
test: Fix whitespace
Browse files Browse the repository at this point in the history
Spotted by current ruff 0.1.6:

> E202 whitespace before '}'
  • Loading branch information
martinpitt committed Nov 20, 2023
1 parent 9b49f32 commit 1425e05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/check-machines-lifecycle
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class TestMachinesLifecycle(VirtualMachinesCase):

def createUser(self, user_group):
user_name = f"test_{user_group if user_group else 'none'}_user"
self.machine.execute(f"useradd{' -G ' + user_group if user_group else '' } {user_name}")
self.machine.execute(f"useradd{' -G ' + user_group if user_group else ''} {user_name}")
self.machine.execute(f"echo '{user_name}:foobar' | chpasswd")
# user libvirtd instance tends to SIGABRT with "Failed to find user record for uid .." on shutdown during cleanup
# so make sure that there are no leftover user processes that bleed into the next test
Expand Down

0 comments on commit 1425e05

Please sign in to comment.