mirror of
				https://github.com/django/django.git
				synced 2025-10-31 01:25:32 +00:00 
			
		
		
		
	Fixed tests that I broke a few commits ago.
This commit is contained in:
		| @@ -3,11 +3,12 @@ import os | ||||
| from django.core.management import call_command, CommandError | ||||
| from django.test import TestCase | ||||
| from django.test.utils import override_settings | ||||
| from django.utils import translation | ||||
| from django.utils import translation, six | ||||
| from django.utils.six import StringIO | ||||
|  | ||||
| test_dir = os.path.abspath(os.path.dirname(__file__)) | ||||
|  | ||||
|  | ||||
| class MessageCompilationTests(TestCase): | ||||
|  | ||||
|     def setUp(self): | ||||
| @@ -19,8 +20,8 @@ class MessageCompilationTests(TestCase): | ||||
|  | ||||
| class PoFileTests(MessageCompilationTests): | ||||
|  | ||||
|     LOCALE='es_AR' | ||||
|     MO_FILE='locale/%s/LC_MESSAGES/django.mo' % LOCALE | ||||
|     LOCALE = 'es_AR' | ||||
|     MO_FILE = 'locale/%s/LC_MESSAGES/django.mo' % LOCALE | ||||
|  | ||||
|     def test_bom_rejection(self): | ||||
|         os.chdir(test_dir) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user