Skip to content
Browse files

uncomment transactions

  • Loading branch information...
1 parent b255756 commit 591f974f698bc3a5948fef369e4bcbd2bbed8bae @andymckay andymckay committed Jan 3, 2013
Showing with 3 additions and 6 deletions.
  1. +3 −3 lib/bango/resources/billing.py
  2. +0 −3 lib/bango/tests/test_resources.py
View
6 lib/bango/resources/billing.py
@@ -60,7 +60,7 @@ def obj_create(self, bundle, request, **kwargs):
# Uncomment this when bug 820198 lands.
# Until then, transactions are managed in webpay not solitude.
@kumar303
Mozilla member
kumar303 added a note Jan 4, 2013

These are stale comments now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
- #create_data = data.copy()
- #create_data['transaction_uuid'] = transaction_uuid
- #create.send(sender=self, bundle=bundle, data=create_data, form=form)
+ create_data = data.copy()
+ create_data['transaction_uuid'] = transaction_uuid
+ create.send(sender=self, bundle=bundle, data=create_data, form=form)
return bundle
View
3 lib/bango/tests/test_resources.py
@@ -4,7 +4,6 @@
from django.conf import settings
import mock
-from nose.exc import SkipTest
from nose.tools import eq_, ok_
from lib.sellers.models import (Seller, SellerBango, SellerProduct,
@@ -299,15 +298,13 @@ def test_good(self):
assert 'billingConfigurationId' in json.loads(res.content)
def test_not_found(self):
- raise SkipTest('signals disabled until bug 820198')
data = self.good()
self.transaction.provider = constants.SOURCE_PAYPAL
self.transaction.save()
with self.assertRaises(Transaction.DoesNotExist):
self.client.post(self.list_url, data=data)
def test_changed(self):
- raise SkipTest('signals disabled until bug 820198')
res = self.client.post(self.list_url, data=self.good())
eq_(res.status_code, 201)
transactions = Transaction.objects.all()

0 comments on commit 591f974

Please sign in to comment.
Something went wrong with that request. Please try again.