Univention Bugzilla – Attachment 8387 Details for
Bug 43454
Test fails on 4.2-0 for 85_ucs-translation-template/01_merge_new_module
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Adjustments to apply tests on 4.2-0 code
bug43454.patch (text/plain), 2.42 KB, created by
Alexander Kläser
on 2017-01-31 12:29:19 CET
(
hide
)
Description:
Adjustments to apply tests on 4.2-0 code
Filename:
MIME Type:
Creator:
Alexander Kläser
Created:
2017-01-31 12:29:19 CET
Size:
2.42 KB
patch
obsolete
>diff --git a/test/ucs-test/tests/85_ucs-translation-template/00_fuzzy_entries_on_merge b/test/ucs-test/tests/85_ucs-translation-template/00_fuzzy_entries_on_merge >index 6271211..38a3b34 100755 >--- a/test/ucs-test/tests/85_ucs-translation-template/00_fuzzy_entries_on_merge >+++ b/test/ucs-test/tests/85_ucs-translation-template/00_fuzzy_entries_on_merge >@@ -23,8 +23,13 @@ import polib > import random > import tools > import univention.testing.utils as utils >+from univention.config_registry import ConfigRegistry >+ >+UCR = ConfigRegistry() >+UCR.load() > > TRANSLATION_PKG_NAME = 'univention-l10n-XX' >+SVN_URL = 'http://forge.univention.org/svn/dev/branches/ucs-{ucr[version/version]}/ucs-{ucr[version/version]}-{ucr[version/patchlevel]}'.format(ucr=UCR) > > > def fixture(): >@@ -32,7 +37,7 @@ def fixture(): > tools.call( > 'svn', > 'checkout', >- 'http://forge.univention.org/svn/dev/branches/ucs-4.1/ucs-4.1-4/management') >+ os.path.join(SVN_URL, 'management')) > tools.call( > 'univention-ucs-translation-build-package', > '--source={}'.format('.'), >diff --git a/test/ucs-test/tests/85_ucs-translation-template/01_merge_new_module b/test/ucs-test/tests/85_ucs-translation-template/01_merge_new_module >index a4692fc..b3f6874 100755 >--- a/test/ucs-test/tests/85_ucs-translation-template/01_merge_new_module >+++ b/test/ucs-test/tests/85_ucs-translation-template/01_merge_new_module >@@ -22,8 +22,13 @@ import logging > import os > import tools > import univention.testing.utils as utils >+from univention.config_registry import ConfigRegistry > >+UCR = ConfigRegistry() >+UCR.load() > >+ >+SVN_URL = 'http://forge.univention.org/svn/dev/branches/ucs-{ucr[version/version]}/ucs-{ucr[version/version]}-{ucr[version/patchlevel]}'.format(ucr=UCR) > SVN_PATH = 'SVN' > DUMMY_MOD_DIR = 'management/univention-management-console-module-dummy' > DUMMY_MOD_EXPECTED_PO_PATHS = [ >@@ -47,7 +52,7 @@ if __name__ == '__main__': > os.chdir(tmp_dir) > > try: >- tools.call('svn', 'checkout', 'http://forge.univention.org/svn/dev/branches/ucs-4.1/ucs-4.1-1/management', os.path.join(SVN_PATH, 'management')) >+ tools.call('svn', 'checkout', os.path.join(SVN_URL, 'management'), os.path.join(SVN_PATH, 'management')) > tools.call('univention-ucs-translation-build-package', '--source={}'.format(SVN_PATH), '--languagecode=XX', '--locale=fr_FR.UTF-8:UTF-8', '--language-name=TEST0') > tools.call('univention-ucs-translation-fakemessage', TRANSLATION_PKG_NAME) > except tools.InvalidCommandError:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 43454
: 8387