From 5413d636ce107f7291ada9cb80a6ea6a6cbff6a5 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Mon, 16 Nov 2020 23:45:25 +0200 Subject: [PATCH] Fix test --- tests/test_network.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_network.py b/tests/test_network.py index 3416260..702b9a9 100755 --- a/tests/test_network.py +++ b/tests/test_network.py @@ -64,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()