Fixing the confirm delete unit test

Now it's updated for the new checkbox-for-confirm code.
This commit is contained in:
Christopher Allan Webber 2011-09-05 23:20:50 -05:00
parent 7624c641cd
commit 9a64272e48

View File

@ -178,7 +178,8 @@ class TestSubmission:
# No work: user=media.uploader().username,
user=self.test_user['username'],
media=media['_id']),
{'confirm': 'False'})
# no value means no confirm
{})
response.follow()
@ -197,7 +198,7 @@ class TestSubmission:
# No work: user=media.uploader().username,
user=self.test_user['username'],
media=media['_id']),
{'confirm': 'True'})
{'confirm': 'y'})
response.follow()