def test_context_contains_staff_usernames(self, pyramid_request): result = staff_index(pyramid_request) assert set(result["staff"]) == set([ "acct:[email protected]", "acct:[email protected]", "acct:[email protected]" ])
def test_context_contains_staff_usernames(self, pyramid_request): result = staff_index(pyramid_request) assert set(result["staff"]) == set( ["acct:[email protected]", "acct:[email protected]", "acct:[email protected]"] )
def test_when_no_staff(self, pyramid_request): result = staff_index(pyramid_request) assert result["staff"] == []