refractoring and more tests

This commit is contained in:
2024-12-19 14:01:32 +01:00
parent daa2d92257
commit 5d2f0f4fdf
10 changed files with 185 additions and 122 deletions

14
tests/test_system.py Normal file
View File

@@ -0,0 +1,14 @@
from multilang_translator.main import announcement_from_german_text
from multilang_translator.translator import test_content
def test_announcement_from_german_text(
ft_configure_broadcaster
):
announcement_from_german_text(test_content.TESTSENTENCE_DE_RAINBOW)
def test_announcement_from_german_text_without_config():
announcement_from_german_text(test_content.TESTSENTENCE_DE_RAINBOW)