We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 47dc622 commit ff25146Copy full SHA for ff25146
1 file changed
tests/test_session.py
@@ -53,6 +53,19 @@ def test_make_request(session: lpdb.LpdbSession):
53
assert response["parent"] == "World_Championship/2025"
54
55
56
+def test_make_request_with_order(session: lpdb.LpdbSession):
57
+ responses = session.make_request(
58
+ "match",
59
+ "leagueoflegends",
60
+ conditions="[[parent::World_Championship/2025]]",
61
+ order=[("date", "asc")],
62
+ streamurls="true",
63
+ )
64
+
65
+ for i in range(1, len(responses)):
66
+ assert responses[i - 1]["date"] <= responses[i]["date"]
67
68
69
def test_get_team_template(session: lpdb.LpdbSession):
70
template = session.get_team_template("leagueoflegends", "t1")
71
assert template["page"] == "T1"
0 commit comments