Merge lp:~elopio/ubuntuone-testing/fix-payment-typos into lp:ubuntuone-testing

Proposed by Leo Arias
Status: Merged
Approved by: Rick McBride
Approved revision: 31
Merged at revision: 31
Proposed branch: lp:~elopio/ubuntuone-testing/fix-payment-typos
Merge into: lp:ubuntuone-testing
Diff against target: 25 lines (+2/-2)
2 files modified
ubuntuone/web/tests/sst/payments/u1webp001_paymusicstreaming.py (+1/-1)
ubuntuone/web/tests/sst/shared/actions/payment_confirmed.py (+1/-1)
To merge this branch: bzr merge lp:~elopio/ubuntuone-testing/fix-payment-typos
Reviewer Review Type Date Requested Status
Rick McBride (community) Approve
Review via email: mp+76513@code.launchpad.net

Commit message

Fixes two typos on payments tests.

Description of the change

I made two typos on the payments actions. Currrently we really can't test this tests easily because they will make the other tests fail by changing the subscriptions of the user, but it's better to have them as good as possible while we can test them.

To post a comment you must log in.
Revision history for this message
Rick McBride (rmcbride) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'ubuntuone/web/tests/sst/payments/u1webp001_paymusicstreaming.py'
--- ubuntuone/web/tests/sst/payments/u1webp001_paymusicstreaming.py 2011-09-19 19:08:03 +0000
+++ ubuntuone/web/tests/sst/payments/u1webp001_paymusicstreaming.py 2011-09-22 05:33:43 +0000
@@ -30,7 +30,7 @@
30from datetime import date30from datetime import date
31import actions.services as services_actions31import actions.services as services_actions
32import actions.payment as payment_actions32import actions.payment as payment_actions
33import actions.paymet_confirmed as payment_confirmed_actions33import actions.payment_confirmed as payment_confirmed_actions
3434
35set_base_url(base_url)35set_base_url(base_url)
36login(username, password)36login(username, password)
3737
=== modified file 'ubuntuone/web/tests/sst/shared/actions/payment_confirmed.py'
--- ubuntuone/web/tests/sst/shared/actions/payment_confirmed.py 2011-09-15 07:32:09 +0000
+++ ubuntuone/web/tests/sst/shared/actions/payment_confirmed.py 2011-09-22 05:33:43 +0000
@@ -49,7 +49,7 @@
49 expire_date = today.replace(year = today.year + 1)49 expire_date = today.replace(year = today.year + 1)
50 # TODO assert the paid amount.50 # TODO assert the paid amount.
51 # TODO assert payments in euros.51 # TODO assert payments in euros.
52 get_element(tag='dt', css_class='purchase_details'52 get_element(tag='dt', css_class='purchase_details',
53 text='Expires: %(expire_date)s'53 text='Expires: %(expire_date)s'
54 % {'expire_date': expire_date.strftime('%B %-d, %Y')}) 54 % {'expire_date': expire_date.strftime('%B %-d, %Y')})
55 get_element(tag='p', css_class='explanation',55 get_element(tag='p', css_class='explanation',

Subscribers

People subscribed via source and target branches