Skip to content

Commit

Permalink
remove home dir in plan.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonhadfield committed Aug 21, 2016
1 parent 4d3af43 commit d1ccbd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_plan.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ def test_create_and_execute_plan_to_create_new_user():
plan = create_plan(existing_users=current_users, proposed_users=provided_users, purge_undefined=True,
protected_users=['travis', 'couchdb', 'ubuntu', 'nginx', 'hadfielj', 'vagrant'])
assert not plan
delete_test_user_and_group()



Expand Down Expand Up @@ -209,6 +208,7 @@ def delete_test_user_and_group():
execute_command(command=del_group_command)
del_user_ssh_dir_command = shlex.split(str('/bin/rm -rf /tmp/.ssh'))
execute_command(command=del_user_ssh_dir_command)
execute_command(command=shlex.split(str('{0} rm -rf /home/testuserx1234'.format(sudo_check()))))


def create_test_user():
Expand Down

0 comments on commit d1ccbd7

Please sign in to comment.