-
Notifications
You must be signed in to change notification settings - Fork 148
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add status v4 stuff to docs; bump version (#182)
* Add status v4 stuff to docs; bump version
- Loading branch information
1 parent
97f2d8d
commit 16659b3
Showing
8 changed files
with
126 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
LolStatusApiV4 | ||
============== | ||
|
||
.. py:currentmodule:: riotwatcher | ||
.. autoclass:: riotwatcher._apis.league_of_legends.LolStatusApiV4 | ||
:members: | ||
:undoc-members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
__version__ = "3.1.3" | ||
__version__ = "3.1.4" | ||
__author__ = "pseudonym117" | ||
__title__ = "RiotWatcher" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import pytest | ||
|
||
|
||
@pytest.mark.lol | ||
@pytest.mark.integration | ||
@pytest.mark.parametrize( | ||
"region", | ||
[ | ||
"br1", | ||
"eun1", | ||
"euw1", | ||
"jp1", | ||
"kr", | ||
"la1", | ||
"la2", | ||
"na", | ||
"na1", | ||
"oc1", | ||
"tr1", | ||
"ru", | ||
"pbe1", | ||
], | ||
) | ||
class TestStatusApiV4: | ||
def test_platform_data(self, lol_context, region): | ||
actual_response = lol_context.watcher.lol_status_v4.platform_data(region) | ||
|
||
lol_context.verify_api_call( | ||
region, "/lol/status/v4/platform-data", {}, actual_response | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters