瀏覽代碼

Fix shadowed test function

Colin Powell 2 年之前
父節點
當前提交
9ed3d034cf
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tests/scrobbles_tests/test_aggregators.py

+ 1 - 1
tests/scrobbles_tests/test_aggregators.py

@@ -31,7 +31,7 @@ def test_scrobble_counts_data(client, mopidy_track_request_data):
 
 
 @pytest.mark.django_db
-def test_scrobble_counts_data(client, mopidy_track_request_data):
+def test_week_of_scrobbles_data(client, mopidy_track_request_data):
     build_scrobbles(client, mopidy_track_request_data, 7, 1)
     week = week_of_scrobbles()
     assert list(week.values()) == [1, 1, 1, 1, 1, 1, 1]