This commit is contained in:
Andy McKay 2012-01-23 13:12:30 -08:00
Родитель 7f87885935
Коммит fc6bf4c499
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -239,13 +239,13 @@ class TestContributeEmbedded(amo.tests.TestCase):
def test_form_suggested_amount(self):
res = self.client.get(self.detail_url)
doc = pq(res.content)
eq_(len(doc('#contribute-box input')), 4)
eq_(len(doc('#contribute-box input')), 5)
def test_form_no_suggested_amount(self):
self.addon.update(suggested_amount=None)
res = self.client.get(self.detail_url)
doc = pq(res.content)
eq_(len(doc('#contribute-box input')), 3)
eq_(len(doc('#contribute-box input')), 4)
@fudge.patch('paypal.get_paykey')
def test_paypal_error_json(self, get_paykey, **kwargs):