mirror of
https://github.com/sissbruecker/linkding.git
synced 2026-03-11 20:24:41 +08:00
Format and lint with ruff (#1263)
This commit is contained in:
@@ -13,7 +13,7 @@ class BookmarkItemE2ETestCase(LinkdingE2ETestCase):
|
||||
page = self.open(reverse("linkding:bundles.new"))
|
||||
|
||||
expect(
|
||||
page.get_by_text(f"Found 6 bookmarks matching this bundle")
|
||||
page.get_by_text("Found 6 bookmarks matching this bundle")
|
||||
).to_be_visible()
|
||||
self.assertVisibleBookmarks(group1 + group2)
|
||||
|
||||
@@ -22,7 +22,7 @@ class BookmarkItemE2ETestCase(LinkdingE2ETestCase):
|
||||
search.fill("foo")
|
||||
|
||||
expect(
|
||||
page.get_by_text(f"Found 3 bookmarks matching this bundle")
|
||||
page.get_by_text("Found 3 bookmarks matching this bundle")
|
||||
).to_be_visible()
|
||||
self.assertVisibleBookmarks(group1)
|
||||
|
||||
@@ -30,7 +30,7 @@ class BookmarkItemE2ETestCase(LinkdingE2ETestCase):
|
||||
search.fill("bar")
|
||||
|
||||
expect(
|
||||
page.get_by_text(f"Found 3 bookmarks matching this bundle")
|
||||
page.get_by_text("Found 3 bookmarks matching this bundle")
|
||||
).to_be_visible()
|
||||
self.assertVisibleBookmarks(group2)
|
||||
|
||||
@@ -38,7 +38,7 @@ class BookmarkItemE2ETestCase(LinkdingE2ETestCase):
|
||||
search.fill("invalid")
|
||||
|
||||
expect(
|
||||
page.get_by_text(f"No bookmarks match the current bundle")
|
||||
page.get_by_text("No bookmarks match the current bundle")
|
||||
).to_be_visible()
|
||||
self.assertVisibleBookmarks([])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user