mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 00:12:05 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			28 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
| --- a/test_junit_xml.py
 | |
| +++ b/test_junit_xml.py
 | |
| @@ -470,24 +470,6 @@
 | |
|              self, tcs[0], {'name': 'Failure-Message'}, failure_message=u(
 | |
|                  "failure message with illegal unicode char: []"))
 | |
|  
 | |
| -    def test_init_utf8(self):
 | |
| -        tc = TestCase(name='Test äöü', classname='some.class.name.äöü',
 | |
| -                      elapsed_sec=123.345, stdout='I am stdöüt!',
 | |
| -                      stderr='I am stdärr!')
 | |
| -        tc.add_skipped_info(message='Skipped äöü', output="I skippäd!")
 | |
| -        tc.add_error_info(message='Skipped error äöü',
 | |
| -                          output="I skippäd with an error!")
 | |
| -        test_suite = TestSuite('Test UTF-8', [tc])
 | |
| -        (ts, tcs) = serialize_and_read(test_suite, encoding='utf-8')[0]
 | |
| -        verify_test_case(self, tcs[0], {'name': decode('Test äöü', 'utf-8'),
 | |
| -                                        'classname': decode('some.class.name.äöü', 'utf-8'),
 | |
| -                                        'time': ("%f" % 123.345)},
 | |
| -                        stdout=decode('I am stdöüt!', 'utf-8'), stderr=decode('I am stdärr!', 'utf-8'),
 | |
| -                        skipped_message=decode('Skipped äöü', 'utf-8'),
 | |
| -                        skipped_output=decode('I skippäd!', 'utf-8'),
 | |
| -                        error_message=decode('Skipped error äöü', 'utf-8'),
 | |
| -                        error_output=decode('I skippäd with an error!', 'utf-8'))
 | |
| -
 | |
|      def test_init_unicode(self):
 | |
|          tc = TestCase(name=decode('Test äöü', 'utf-8'),
 | |
|                        classname=decode('some.class.name.äöü', 'utf-8'),
 |