The test was written by someone who thought that defining an unknown
field would always raise an error in the validator (it no longer
does...it raises a warning). Changed to do something that causes a
*real* error.
This commit is contained in:
Matt Basta 2012-11-13 14:43:48 -08:00
Родитель a6620f2041
Коммит 8b3e08d499
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -225,7 +225,7 @@ class TestUpdateManifest(amo.tests.TestCase):
open_manifest.return_value = original
# Mock new manifest with name change.
n = new.copy()
n['locale'] = 'en-US'
n['locales'] = 'en-US'
response_mock = mock.Mock()
response_mock.read.return_value = json.dumps(n)
response_mock.headers = {