Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:openSUSE:Factory:rpmlint
python-python-magic
magic-file-5.45.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File magic-file-5.45.patch of Package python-python-magic
Index: python-magic-0.4.27/test/python_magic_test.py =================================================================== --- python-magic-0.4.27.orig/test/python_magic_test.py +++ python-magic-0.4.27/test/python_magic_test.py @@ -108,7 +108,8 @@ class MagicTest(unittest.TestCase): self.assert_values(m, { 'magic._pyc_': 'python 2.4 byte-compiled', 'test.pdf': ('PDF document, version 1.2', - 'PDF document, version 1.2, 2 pages'), + 'PDF document, version 1.2, 2 pages', + 'PDF document, version 1.2, 2 page(s)'), 'test.gz': ('gzip compressed data, was "test", from Unix, last ' 'modified: Sun Jun 29 01:32:52 2008', Index: python-magic-0.4.27/test/libmagic_test.py =================================================================== --- python-magic-0.4.27.orig/test/libmagic_test.py +++ python-magic-0.4.27/test/libmagic_test.py @@ -15,7 +15,7 @@ class MagicTestCase(unittest.TestCase): filename = os.path.join(TESTDATA_DIR, 'test.pdf') expected_mime_type = 'application/pdf' expected_encoding = 'us-ascii' - expected_name = ('PDF document, version 1.2', 'PDF document, version 1.2, 2 pages') + expected_name = ('PDF document, version 1.2', 'PDF document, version 1.2, 2 pages', 'PDF document, version 1.2, 2 page(s)') def assert_result(self, result): self.assertEqual(result.mime_type, self.expected_mime_type)
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