Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.2:Staging:C
translate-toolkit
versioned_executables.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File versioned_executables.patch of Package translate-toolkit
--- a/tests/xliff_conformance/test_xliff_conformance.py +++ b/tests/xliff_conformance/test_xliff_conformance.py @@ -48,7 +48,7 @@ def find_files(base, check_ext): def test_open_office_to_xliff(): - assert call(['oo2xliff', 'en-US.sdf', '-l', 'fr', 'fr']) == 0 + assert call(['oo2xliff-{}'.format('.'.join((str(x) for x in sys.version_info[:2]))), 'en-US.sdf', '-l', 'fr', 'fr']) == 0 for filepath in find_files('fr', '.xlf'): assert xmllint(filepath) cleardir('fr') @@ -56,7 +56,7 @@ def test_open_office_to_xliff(): def test_po_to_xliff(): OUTPUT = 'af-pootle.xlf' - assert call(['po2xliff', 'af-pootle.po', OUTPUT]) == 0 + assert call(['po2xliff-{}'.format('.'.join((str(x) for x in sys.version_info[:2]))), 'af-pootle.po', OUTPUT]) == 0 assert xmllint(OUTPUT)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor