We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff25146 commit af7d755Copy full SHA for af7d755
1 file changed
tests/test_session.py
@@ -66,6 +66,24 @@ def test_make_request_with_order(session: lpdb.LpdbSession):
66
assert responses[i - 1]["date"] <= responses[i]["date"]
67
68
69
+def test_make_count_request(session: lpdb.LpdbSession):
70
+ responses = session.make_request(
71
+ "match",
72
+ "leagueoflegends",
73
+ conditions="[[parent::World_Championship/2025]]",
74
+ limit=1000,
75
+ )
76
+
77
+ count_response = session.make_count_request(
78
79
80
81
82
83
+ assert isinstance(count_response, int)
84
+ assert len(responses) == count_response
85
86
87
def test_get_team_template(session: lpdb.LpdbSession):
88
template = session.get_team_template("leagueoflegends", "t1")
89
assert template["page"] == "T1"
0 commit comments