summaryrefslogtreecommitdiff
path: root/tests/gamelocker_test.py
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2017-03-16 21:34:38 +0100
committerschneefux <schneefux+commit@schneefux.xyz>2017-03-16 21:34:38 +0100
commit465295b223699de4bf361ec4399e12b9b30c8f2e (patch)
treee62c42f448a61843637d9ad467f2ce1e8f5a24a6 /tests/gamelocker_test.py
parent6ec993bdc3bb37360dc4a1165f6a054224d7abd5 (diff)
downloadpython-gamelocker-465295b223699de4bf361ec4399e12b9b30c8f2e.tar.gz
python-gamelocker-465295b223699de4bf361ec4399e12b9b30c8f2e.zip
support Telemetry via assets
Diffstat (limited to 'tests/gamelocker_test.py')
-rw-r--r--tests/gamelocker_test.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/gamelocker_test.py b/tests/gamelocker_test.py
index c7a27a9..f94216f 100644
--- a/tests/gamelocker_test.py
+++ b/tests/gamelocker_test.py
@@ -41,6 +41,11 @@ class TestGamelocker:
assert isinstance(matches[0], gamelocker.datatypes.Match)
assert matches[0].duration > 0
+ def test_asset(self, api):
+ match = api.match(elid="f73274b2-0a7f-11e7-a28f-0206eb3a2f5b",
+ region="eu")
+ assert isinstance(match.assets[0].url, str)
+
def test_region(self, api):
assert len(api.matches(region="na",
params={