@@ -18,7 +18,7 @@ use crate::test_helpers::*;
18
18
19
19
#[ test]
20
20
fn test_list_operator_policies ( ) -> Result < ( ) , Box < dyn std:: error:: Error > > {
21
- let policy_name = "test_policy " ;
21
+ let policy_name = "test_list_operator_policies " ;
22
22
23
23
run_succeeds ( [
24
24
"operator_policies" ,
@@ -74,7 +74,7 @@ fn test_operator_policies() -> Result<(), Box<dyn std::error::Error>> {
74
74
75
75
#[ test]
76
76
fn test_operator_policies_declare_list_and_delete ( ) -> Result < ( ) , Box < dyn std:: error:: Error > > {
77
- let policy_name = "test_policies_declare_list_and_delete " ;
77
+ let policy_name = "test_operator_policies_declare_list_and_delete " ;
78
78
79
79
run_succeeds ( [
80
80
"operator_policies" ,
@@ -101,15 +101,15 @@ fn test_operator_policies_declare_list_and_delete() -> Result<(), Box<dyn std::e
101
101
102
102
#[ test]
103
103
fn test_operator_policies_in ( ) -> Result < ( ) , Box < dyn std:: error:: Error > > {
104
- let vh1 = "rabbitmqadmin.test_policies_in .1" ;
104
+ let vh1 = "rabbitmqadmin.test_operator_policies_in .1" ;
105
105
run_succeeds ( [ "delete" , "vhost" , "--name" , vh1, "--idempotently" ] ) ;
106
106
run_succeeds ( [ "declare" , "vhost" , "--name" , vh1] ) ;
107
107
108
- let vh2 = "rabbitmqadmin.test_policies_in .2" ;
108
+ let vh2 = "rabbitmqadmin.test_operator_policies_in .2" ;
109
109
run_succeeds ( [ "delete" , "vhost" , "--name" , vh2, "--idempotently" ] ) ;
110
110
run_succeeds ( [ "declare" , "vhost" , "--name" , vh2] ) ;
111
111
112
- let policy_name = "test_policies_in " ;
112
+ let policy_name = "test_operator_policies_in " ;
113
113
run_succeeds ( [
114
114
"--vhost" ,
115
115
vh1,
@@ -154,7 +154,7 @@ fn test_operator_policies_in_with_entity_type() -> Result<(), Box<dyn std::error
154
154
run_succeeds ( [ "delete" , "vhost" , "--name" , vh, "--idempotently" ] ) ;
155
155
run_succeeds ( [ "declare" , "vhost" , "--name" , vh] ) ;
156
156
157
- let policy_name = "test_policies_in_with_entity_type " ;
157
+ let policy_name = "test_operator_policies_in_with_entity_type " ;
158
158
run_succeeds ( [
159
159
"--vhost" ,
160
160
vh,
@@ -280,7 +280,7 @@ fn test_operator_policies_matching_objects() -> Result<(), Box<dyn std::error::E
280
280
#[ test]
281
281
fn test_operator_policies_declare_list_update_definition_and_delete ( )
282
282
-> Result < ( ) , Box < dyn std:: error:: Error > > {
283
- let policy_name = "test_policies_declare_list_update_definition_and_delete " ;
283
+ let policy_name = "test_operator_policies_declare_list_update_definition_and_delete " ;
284
284
285
285
run_succeeds ( [
286
286
"operator_policies" ,
@@ -322,7 +322,7 @@ fn test_operator_policies_declare_list_update_definition_and_delete()
322
322
#[ test]
323
323
fn test_operator_policies_individual_policy_key_manipulation ( )
324
324
-> Result < ( ) , Box < dyn std:: error:: Error > > {
325
- let policy_name = "test_policies_individual_policy_key_manipulation " ;
325
+ let policy_name = "test_operator_policies_individual_policy_key_manipulation " ;
326
326
327
327
run_succeeds ( [
328
328
"operator_policies" ,
@@ -379,16 +379,16 @@ fn test_operator_policies_individual_policy_key_manipulation()
379
379
#[ test]
380
380
fn test_operator_policies_bulk_policy_keys_manipulation ( ) -> Result < ( ) , Box < dyn std:: error:: Error > >
381
381
{
382
- let vh1 = "rabbitmqadmin.test_policies_bulk_policy_keys_manipulation .1" ;
383
- let vh2 = "rabbitmqadmin.test_policies_bulk_policy_keys_manipulation .2" ;
382
+ let vh1 = "rabbitmqadmin.test_operator_policies_bulk_policy_keys_manipulation .1" ;
383
+ let vh2 = "rabbitmqadmin.test_operator_policies_bulk_policy_keys_manipulation .2" ;
384
384
385
385
run_succeeds ( [ "delete" , "vhost" , "--name" , vh1, "--idempotently" ] ) ;
386
386
run_succeeds ( [ "declare" , "vhost" , "--name" , vh1] ) ;
387
387
run_succeeds ( [ "delete" , "vhost" , "--name" , vh2, "--idempotently" ] ) ;
388
388
run_succeeds ( [ "declare" , "vhost" , "--name" , vh2] ) ;
389
389
390
- let policy1_name = "test_policies_bulk_policy_keys_manipulation -1" ;
391
- let policy2_name = "test_policies_bulk_policy_keys_manipulation -2" ;
390
+ let policy1_name = "test_operator_policies_bulk_policy_keys_manipulation -1" ;
391
+ let policy2_name = "test_operator_policies_bulk_policy_keys_manipulation -2" ;
392
392
393
393
run_succeeds ( [
394
394
"--vhost" ,
0 commit comments