fix typo; bug 650040
This commit is contained in:
Родитель
87a73410e9
Коммит
3a0d2c93b0
|
@ -485,7 +485,7 @@ class BaseFileFormSet(BaseModelFormSet):
|
|||
|
||||
if amo.PLATFORM_ALL.id in platforms and len(files) > 1:
|
||||
raise forms.ValidationError(
|
||||
_('The platfom All cannot be combined '
|
||||
_('The platform All cannot be combined '
|
||||
'with specific platforms.'))
|
||||
|
||||
if sorted(platforms) != sorted(set(platforms)):
|
||||
|
|
|
@ -518,7 +518,7 @@ class TestVersionEditFiles(TestVersionEdit):
|
|||
forms = map(initial, forms)
|
||||
res = self.client.post(self.url, self.formset(*forms, prefix='files'))
|
||||
eq_(res.context['file_form'].non_form_errors()[0],
|
||||
'The platfom All cannot be combined with specific platforms.')
|
||||
'The platform All cannot be combined with specific platforms.')
|
||||
|
||||
def test_all_platforms_and_delete(self):
|
||||
File.objects.create(version=self.version,
|
||||
|
|
Загрузка…
Ссылка в новой задаче