Merge remote-tracking branch 'upstream/master' into streaming
This commit is contained in:
commit
10107a04e4
23 changed files with 333 additions and 359 deletions
|
@ -5,9 +5,10 @@ Integration (not unit) tests for pylast.py
|
|||
import re
|
||||
import time
|
||||
|
||||
import pylast
|
||||
import pytest
|
||||
|
||||
import pylast
|
||||
|
||||
from .test_pylast import WRITE_TEST, TestPyLastWithLastFm
|
||||
|
||||
|
||||
|
@ -63,7 +64,7 @@ class TestPyLastNetwork(TestPyLastWithLastFm):
|
|||
self.network.enable_rate_limit()
|
||||
then = time.time()
|
||||
# Make some network call, limit not applied first time
|
||||
self.network.get_user(self.username)
|
||||
self.network.get_top_artists()
|
||||
# Make a second network call, limiting should be applied
|
||||
self.network.get_top_artists()
|
||||
now = time.time()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue