@@ -51,12 +51,12 @@ def ldap_user_mongodb(
51
51
return user
52
52
53
53
54
- @mark .e2e_replica_set_custom_roles
54
+ @mark .e2e_replica_set_ldap_custom_roles
55
55
def test_replica_set (replica_set : MongoDB ):
56
56
replica_set .assert_reaches_phase (Phase .Running , timeout = 400 )
57
57
58
58
59
- @mark .e2e_replica_set_custom_roles
59
+ @mark .e2e_replica_set_ldap_custom_roles
60
60
def test_create_ldap_user (replica_set : MongoDB , ldap_user_mongodb : MongoDBUser ):
61
61
ldap_user_mongodb .assert_reaches_phase (Phase .Updated )
62
62
@@ -65,7 +65,7 @@ def test_create_ldap_user(replica_set: MongoDB, ldap_user_mongodb: MongoDBUser):
65
65
ac .assert_expected_users (1 )
66
66
67
67
68
- @mark .e2e_replica_set_custom_roles
68
+ @mark .e2e_replica_set_ldap_custom_roles
69
69
def test_new_ldap_users_can_write_to_database (replica_set : MongoDB , ldap_user_mongodb : MongoDBUser ):
70
70
tester = replica_set .tester ()
71
71
@@ -78,7 +78,7 @@ def test_new_ldap_users_can_write_to_database(replica_set: MongoDB, ldap_user_mo
78
78
)
79
79
80
80
81
- @mark .e2e_replica_set_custom_roles
81
+ @mark .e2e_replica_set_ldap_custom_roles
82
82
@mark .xfail (reason = "The user should not be able to write to a database/collection it is not authorized to write on" )
83
83
def test_new_ldap_users_can_write_to_other_collection (replica_set : MongoDB , ldap_user_mongodb : MongoDBUser ):
84
84
tester = replica_set .tester ()
@@ -92,7 +92,7 @@ def test_new_ldap_users_can_write_to_other_collection(replica_set: MongoDB, ldap
92
92
)
93
93
94
94
95
- @mark .e2e_replica_set_custom_roles
95
+ @mark .e2e_replica_set_ldap_custom_roles
96
96
@mark .xfail (reason = "The user should not be able to write to a database/collection it is not authorized to write on" )
97
97
def test_new_ldap_users_can_write_to_other_database (replica_set : MongoDB , ldap_user_mongodb : MongoDBUser ):
98
98
tester = replica_set .tester ()
@@ -105,7 +105,7 @@ def test_new_ldap_users_can_write_to_other_database(replica_set: MongoDB, ldap_u
105
105
)
106
106
107
107
108
- @mark .e2e_replica_set_custom_roles
108
+ @mark .e2e_replica_set_ldap_custom_roles
109
109
def test_automation_config_has_roles (replica_set : MongoDB ):
110
110
tester = replica_set .get_automation_config_tester ()
111
111
0 commit comments