1.0.1
Wydanie WGTools-Extended / release (push) Successful in 10s

This commit is contained in:
asminme committed 2026-10-30 00:44:56 +01:00
1 parent affe28ad71
commit db262c6607
9 files changed
+29 -302

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@ from scripts import gitea_release
def test_release_creates_draft_uploads_and_publishes(tmp_path, monkeypatch):
monkeypatch.chdir(tmp_path)
Path('VERSION').write_text('1.2.3', encoding='utf-8')
for key, value in {'GITHUB_REF_NAME':'v1.2.3', 'GITHUB_SERVER_URL':'https://git.example', 'GITHUB_REPOSITORY':'owner/project', 'GITEA_RELEASE_TOKEN':'test-token'}.items():
for key, value in {'GITHUB_REF_NAME':'v1.2.3', 'GITHUB_SERVER_URL':'https://git.example', 'GITHUB_REPOSITORY':'owner/project', 'RELEASE_TOKEN':'test-token'}.items():
monkeypatch.setenv(key, value)
calls = []
def archive(args, **kwargs):
+1 -1
View File
@@ -36,7 +36,7 @@ class HelpTranslationTests(unittest.TestCase):
def test_unknown_language_defaults_to_english(self):
self.assertEqual(get_help_sections('non-existent-language'), HELP['en'])
def test_version(self):
self.assertEqual((ROOT/'VERSION').read_text().strip(),'1.0.0')
self.assertEqual((ROOT/'VERSION').read_text().strip(),'1.0.1')
if __name__ == '__main__':
unittest.main()
+1 -1
View File
@@ -15,7 +15,7 @@ LANGS = ('en', 'ru', 'de', 'fr', 'it', 'es', 'pl')
class CandidateTests(unittest.TestCase):
def test_versions_and_locale_fallback_contract(self):
self.assertEqual((ROOT / 'VERSION').read_text().strip(), '1.0.0')
self.assertEqual((ROOT / 'VERSION').read_text().strip(), '1.0.1')
en = json.loads((ROOT/'app/locales/en.json').read_text())
self.assertGreaterEqual(len(en), 1098)
for lang in LANGS: