We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe56361 commit fbdcab1Copy full SHA for fbdcab1
test/test_user.py
@@ -403,9 +403,6 @@ def test_create_users_csv(self):
403
assert admin_map.get(site_role, "") == csv_user["admin"]
404
assert publish_map[site_role] == int(csv_user["publish"])
405
406
-
407
408
409
def test_bulk_add(self):
410
self.server.version = "3.15"
411
users = [
@@ -467,10 +464,9 @@ def test_bulk_add_no_name(self):
467
464
def test_bulk_remove(self):
468
465
469
466
470
- TSC.UserItem("Alice"),
471
- TSC.UserItem("Bob"),
+ make_user("Alice"),
+ make_user("Bob", domain="example.com"),
472
]
473
- users[1]._domain_name = "example.com"
474
with requests_mock.mock() as m:
475
m.post(f"{self.server.users.baseurl}/delete")
476
0 commit comments