mirror of
https://github.com/TagStudioDev/TagStudio.git
synced 2026-02-01 23:59:10 +00:00
fix: UI test wasn't comparing to translated strings
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
from src.core.library.alchemy.models import Tag
|
||||
from src.qt.modals.build_tag import BuildTagPanel
|
||||
from src.qt.translations import Translations
|
||||
|
||||
|
||||
def test_build_tag_panel_add_sub_tag_callback(library, generate_tag):
|
||||
@@ -155,4 +156,4 @@ def test_build_tag_panel_build_tag(library):
|
||||
tag: Tag = panel.build_tag()
|
||||
|
||||
assert tag
|
||||
assert tag.name == "New Tag"
|
||||
assert tag.name == Translations["tag.new"]
|
||||
|
||||
Reference in New Issue
Block a user