def test_context_contains_admin_usernames(self, pyramid_request): result = admins_index(pyramid_request) assert set(result["admin_users"]) == set([ "acct:[email protected]", "acct:[email protected]", "acct:[email protected]" ])
def test_context_contains_admin_usernames(self, pyramid_request): result = admins_index(pyramid_request) assert set(result["admin_users"]) == set( ["acct:[email protected]", "acct:[email protected]", "acct:[email protected]"] )
def test_when_no_admins(self, pyramid_request): result = admins_index(pyramid_request) assert result["admin_users"] == []
def test_when_no_admins(self, pyramid_request): result = admins_index(pyramid_request) assert result["admin_users"] == []