Commit 45111ee9 authored by Francesc Guasch's avatar Francesc Guasch
Browse files

Cleanup before and after testing

parent 1f2ff4a6
......@@ -172,6 +172,10 @@ sub test_deny_all {
}
########################################################################3
#
#
remove_old_domains();
remove_old_disks();
my $domain_name = new_domain_name();
my $domain = $vm->create_domain( name => $domain_name
......@@ -190,4 +194,7 @@ test_deny_all($domain);
test_allow_domain($domain);
remove_old_domains();
remove_old_disks();
done_testing();
......@@ -83,6 +83,9 @@ sub create_admin_user {
######################################3
remove_old_domains();
remove_old_disks();
my $user_foo = test_create_user('foo');
my $user_bar = test_create_user('bar');
my $domain = test_create_domain($user_foo);
......@@ -91,5 +94,8 @@ test_display($domain,$user_foo , $user_bar );
my $user_admin = create_admin_user('mcnulty');
test_display($domain,$user_admin , $user_bar );
remove_old_domains();
remove_old_disks();
done_testing();
Supports Markdown
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