Пример #1
0
def test_Fred_CannotBanUser(Fred):
    assert not r.CanBanUser(Fred, None)
Пример #2
0
def test_CanBanUser_with_smod(super_moderator_user):
    assert r.CanBanUser(super_moderator_user, None)
Пример #3
0
def test_CanBanUser_with_mod(moderator_user):
    assert r.CanBanUser(moderator_user, None)
Пример #4
0
def test_CanBanUser_with_admin(admin_user):
    assert r.CanBanUser(admin_user, None)