Skip to content

Commit

Permalink
test: Add some more endpoints to the filter test
Browse files Browse the repository at this point in the history
A few of these were added recently, but the comp/players one was never
added before this.

Signed-off-by: Sean Anderson <[email protected]>
  • Loading branch information
Forty-Bot committed Nov 17, 2023
1 parent 64f4ebb commit 8f17e68
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/site_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,13 @@ def test_filter(client, logs, players, titles, maps, names, compids, teamids, co
st.builds(lambda compid, rule: rule.format(*compid), st.sampled_from(compids),
st.sampled_from((
"/league/{}/comp/{}/matches",
"/league/{}/comp/{}/players",
))),
st.builds(lambda teamid, rule: rule.format(*teamid), st.sampled_from(teamids),
st.sampled_from((
"/league/{}/team/{}/roster",
"/league/{}/team/{}/matches",
"/league/{}/team/{}/player",
))),
))

Expand Down

0 comments on commit 8f17e68

Please sign in to comment.