Commit a6caed19 authored by Alain Takoudjou's avatar Alain Takoudjou Committed by Alain Takoudjou

fix slapformat tests

parent 66e6bbfe
......@@ -636,7 +636,7 @@ class TestUser(SlapformatMixin):
self.assertEqual([
'groupadd doesnotexistsyet',
'useradd -d /doesnotexistsyet -g -s /bin/sh doesnotexistsyet '\
'useradd -d /doesnotexistsyet -g doesnotexistsyet -s /bin/sh '\
'doesnotexistsyet -r',
'passwd -l doesnotexistsyet'
],
......@@ -709,7 +709,7 @@ class TestUser(SlapformatMixin):
user.create()
self.assertEqual([
'usermod -d /testuser -g testuser testuser -s /bin/sh testuser',
'usermod -d /testuser -g testuser -s /bin/sh testuser',
'passwd -l testuser'
],
self.fakeCallAndRead.external_command_list)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment