feat(web): up avatars, follower count, and dedupe views/avg secondary
This commit is contained in:
1 parent
1ed3746f4b
commit
2ff3e7952b
23 files changed
+209
-58
No files matched your search
@@ -153,6 +153,9 @@ def test_snapshot_success_resume_and_force():
|
||||
assert (row["view"], row["like"], row["favorite"], row["coin"],
|
||||
row["share"], row["reply"], row["danmaku"]) == (100, 10, 3, 2, 1, 4, 5)
|
||||
assert row["ok"] == 1 and row["src"] == "view"
|
||||
assert repo.get_video(1)["up_face"] == (
|
||||
"http://i1.hdslb.com/bfs/face/example.jpg"
|
||||
)
|
||||
fan = repo.get_up_stat(DATE, 37754047)
|
||||
assert fan["follower"] == 2767268 and fan["ok"] == 1
|
||||
assert repo.kv_get(service.completed_key(DATE)) == "1"
|
||||
|
||||
Reference in new issue
Block a user