Commit Graph

27 Commits (a2329de3b1dafc70fce2e72742ae3fbb853342f6)

Author SHA1 Message Date
Raymond Yee 28eca2999c put checks for notices in proper context 2012-11-21 16:42:04 -08:00
Raymond Yee ecea475419 a few modifications to pledge_failed notice 2012-11-21 11:40:19 -08:00
Raymond Yee ce6e7f865d tests pass on this commit 2012-11-20 13:56:14 -08:00
Raymond Yee c034e10b30 Putting in some code to record a PaymentResponse to track errors in stripelib.Execute 2012-11-20 09:28:10 -08:00
Raymond Yee 7b75c36390 Now UnifiedCampaignTests passing -- and number of emails sent out align with expectation 2012-11-14 14:33:37 -08:00
Raymond Yee 4fa36ad30e test_stripe_token_none passes now 2012-11-14 12:14:06 -08:00
Raymond Yee ec09588650 Add a (currently failing) test test_stripe_token_none 2012-11-14 11:39:56 -08:00
Raymond Yee f2bb53f132 recharge signal being fired now 2012-11-12 12:48:03 -08:00
Raymond Yee 793d984ba3 Implemented basic transaction_failed signal and notices -- THEY STILL NEED WORK
Tests handle situation of transaction_failed too
2012-11-06 11:22:25 -08:00
Raymond Yee f6bf774f2c Test sending junk to webhook handler
Simulate sending events to the ipnhandler and check to see how many emails generated in test
2012-11-02 14:46:49 -07:00
Raymond Yee 9826951d36 Continuing to build out UnifiedCampaignTests -- now includes scenario where a pledge is made and charged -- and the corresponding Stripe events are polled and inspected 2012-11-01 14:06:11 -07:00
Raymond Yee 14cd6209bf continuing on UnifiedCampaignTests 2012-10-31 11:57:39 -07:00
Raymond Yee 96b62aa163 basic skeleton for test based on loading fixture
keep the signals for create userprofile, wishlist, and credit from firing if fixtures being loaded
2012-10-31 11:08:46 -07:00
Raymond Yee f968caf561 Revert "Revert "slowly progressing on PledgeUiTest""
This reverts commit c0107b2192.
2012-10-10 13:59:04 -07:00
Raymond Yee c0107b2192 Revert "slowly progressing on PledgeUiTest"
PledgingUiTests works ok in isolation and in context of other frontend tests...but fails when run with core....

This reverts commit 6a447abe00.
2012-10-10 08:19:38 -07:00
Raymond Yee 6a447abe00 slowly progressing on PledgeUiTest 2012-10-09 16:12:54 -07:00
eric faf095408c fixed campaign tests to include claim and rightsholder 2012-04-03 10:45:48 -04:00
Raymond Yee a252f9d173 [#22561067] Implemented regluit.utils.localdatetime.now is by default datetime.datetime.now() (in Django 1.3) and django.utils.timezone.now() in Django 1.4+
One overrides regluit.utils.localdatetime._now to do "time travel" -- useful for testing scenarios requiring time changes (such as Campaigns)
Get rid of call references to datetime.datetime.now() or utcnow() and datetime.date.today() in favor of regluit.utils.localdatetime.now() and date_today().
2012-03-09 00:45:39 +00:00
eric 142fe72f93 added db metrics page [deliver #26022545] /info/metrics.html 2012-03-07 22:07:01 -05:00
eric 5060f2e6bb frontend test less sensetive to fixturing
test db teardown at end of a test depends on db mechanisms
2012-02-07 15:47:32 -05:00
eric 0d19018e62 api tests working; non-google id's working 2012-01-10 15:20:02 -05:00
Raymond Yee 13b01c2838 Added a test to ensure that a user needs to be logged in for the pledge view. 2012-01-04 17:14:37 -05:00
eric 22da90659c added frontend tests; test_view_by_anonymous is now by anonymous 2011-12-19 17:09:12 -05:00
Ed Summers 8008a5df51 added /googlebooks/{googlebooks_id}/ route which will add the book to gluejar and redirect to the new work url, for use on the search results page 2011-11-21 20:12:13 -05:00
Ed Summers f870cc6243 added regression test for non-logged in user viewing the supporter page 2011-10-17 18:37:31 +00:00
Ed Summers 70a620b27f moved to using googlebooks api for data. required moving authors and subjects to be associated to editions, since we google books does not have a notion of a work 2011-10-10 12:57:10 -04:00
Ed Summers 139a866bf6 setup api, core and frontend apps, also added initial homepage template from stefan 2011-08-30 23:46:55 -04:00