Skip to content

Commit bb7c0af

Browse files
Cosmetics
1 parent 0ed2261 commit bb7c0af

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

tests/operator_policies_tests.rs

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ use crate::test_helpers::*;
1818

1919
#[test]
2020
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";
2222

2323
run_succeeds([
2424
"operator_policies",
@@ -74,7 +74,7 @@ fn test_operator_policies() -> Result<(), Box<dyn std::error::Error>> {
7474

7575
#[test]
7676
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";
7878

7979
run_succeeds([
8080
"operator_policies",
@@ -101,15 +101,15 @@ fn test_operator_policies_declare_list_and_delete() -> Result<(), Box<dyn std::e
101101

102102
#[test]
103103
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";
105105
run_succeeds(["delete", "vhost", "--name", vh1, "--idempotently"]);
106106
run_succeeds(["declare", "vhost", "--name", vh1]);
107107

108-
let vh2 = "rabbitmqadmin.test_policies_in.2";
108+
let vh2 = "rabbitmqadmin.test_operator_policies_in.2";
109109
run_succeeds(["delete", "vhost", "--name", vh2, "--idempotently"]);
110110
run_succeeds(["declare", "vhost", "--name", vh2]);
111111

112-
let policy_name = "test_policies_in";
112+
let policy_name = "test_operator_policies_in";
113113
run_succeeds([
114114
"--vhost",
115115
vh1,
@@ -154,7 +154,7 @@ fn test_operator_policies_in_with_entity_type() -> Result<(), Box<dyn std::error
154154
run_succeeds(["delete", "vhost", "--name", vh, "--idempotently"]);
155155
run_succeeds(["declare", "vhost", "--name", vh]);
156156

157-
let policy_name = "test_policies_in_with_entity_type";
157+
let policy_name = "test_operator_policies_in_with_entity_type";
158158
run_succeeds([
159159
"--vhost",
160160
vh,
@@ -280,7 +280,7 @@ fn test_operator_policies_matching_objects() -> Result<(), Box<dyn std::error::E
280280
#[test]
281281
fn test_operator_policies_declare_list_update_definition_and_delete()
282282
-> 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";
284284

285285
run_succeeds([
286286
"operator_policies",
@@ -322,7 +322,7 @@ fn test_operator_policies_declare_list_update_definition_and_delete()
322322
#[test]
323323
fn test_operator_policies_individual_policy_key_manipulation()
324324
-> 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";
326326

327327
run_succeeds([
328328
"operator_policies",
@@ -379,16 +379,16 @@ fn test_operator_policies_individual_policy_key_manipulation()
379379
#[test]
380380
fn test_operator_policies_bulk_policy_keys_manipulation() -> Result<(), Box<dyn std::error::Error>>
381381
{
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";
384384

385385
run_succeeds(["delete", "vhost", "--name", vh1, "--idempotently"]);
386386
run_succeeds(["declare", "vhost", "--name", vh1]);
387387
run_succeeds(["delete", "vhost", "--name", vh2, "--idempotently"]);
388388
run_succeeds(["declare", "vhost", "--name", vh2]);
389389

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";
392392

393393
run_succeeds([
394394
"--vhost",

0 commit comments

Comments
 (0)