diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-01-15 19:36:39 +0100 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-01-15 19:36:39 +0100 |
| commit | 59f51c1ba50a5cc7f3d92432479d145440abe01a (patch) | |
| tree | 1edcb0ba7963d9bff414ef1f56a6da426cd56202 | |
| parent | be0b8968651f98b962a18c4e750d6396c0fdaf47 (diff) | |
| download | python-gamelocker-59f51c1ba50a5cc7f3d92432479d145440abe01a.tar.gz python-gamelocker-59f51c1ba50a5cc7f3d92432479d145440abe01a.zip | |
vainglory -> Vainglory
| -rw-r--r-- | examples/dashboard/app.py | 2 | ||||
| -rw-r--r-- | gamelocker/api.py | 2 | ||||
| -rw-r--r-- | tests/gamelocker_test.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/examples/dashboard/app.py b/examples/dashboard/app.py index 78c3262..754004f 100644 --- a/examples/dashboard/app.py +++ b/examples/dashboard/app.py @@ -32,7 +32,7 @@ def data(): return render_template("stats.js", stats=data) data = dict() - api = gamelocker.Gamelocker("aaa.bbb.ccc").vainglory() + api = gamelocker.Gamelocker("aaa.bbb.ccc").Vainglory() data["number"] = config.batchsize matches = api.matches(data["number"]) diff --git a/gamelocker/api.py b/gamelocker/api.py index c1383d6..905f9fa 100644 --- a/gamelocker/api.py +++ b/gamelocker/api.py @@ -102,7 +102,7 @@ class Gamelocker(object): element = gamelocker.datatypes.link_to_object(element, includes) return element - def vainglory(self): + def Vainglory(self): """Sets title to Vainglory. :return: :class:`Gamelocker <Gamelocker>` object diff --git a/tests/gamelocker_test.py b/tests/gamelocker_test.py index 373269a..2af10e2 100644 --- a/tests/gamelocker_test.py +++ b/tests/gamelocker_test.py @@ -10,7 +10,7 @@ class TestGamelocker: @pytest.fixture def api(self): - return gamelocker.Gamelocker(self.apikey).vainglory() + return gamelocker.Gamelocker(self.apikey).Vainglory() def test_req(self, api): with pytest.raises(requests.exceptions.HTTPError): |
