Skip to content

armgit / peach

Public Imported from GitHub
0

Peach: Local-first video metadata scraper and media manager.

test(follow): 来源药丸的点击断言跟上单选

longmeidaoa9f08197d68d
diff --git a/tests/test_follow_web.py b/tests/test_follow_web.py
index aa5b3f94c..615cbca22 100644
--- a/tests/test_follow_web.py
+++ b/tests/test_follow_web.py
@@ -3589,7 +3589,7 @@ class FollowWebSourceTests(unittest.TestCase):
"function followBackfillState", 1)[0]
self.assertNotIn("全部来源", watch)
self.assertNotIn("全部标签", watch)
- self.assertPageContains("toggle(followProviders,button.dataset.followProvider);applyFollowView()")
+ self.assertPageContains("pick(followProviders,button.dataset.followProvider);applyFollowView()")
self.assertPageContains("toggle(followTags,button.dataset.followTag);applyFollowView()")
def test_follow_horizontal_rails_are_wired_after_each_render(self):