Commit Graph

55 Commits (6dbe9bdaebbf274efd3595b1960a3d08dbf72e8e)

Author SHA1 Message Date
eric a3aab48ea7 simplified response for work HEAD 2018-01-12 12:05:13 -05:00
eric 1611ebe82a poorly conceived test 2017-12-15 18:24:19 -05:00
eric 184aab1b43 add static test 2017-12-15 14:03:54 -05:00
eric d5980bfd5b Merge branch 'master' into edit-editions 2017-08-03 16:15:14 -04:00
eric 758e307516 Merge branch 'master' into edit-editions
# Conflicts:
#	frontend/tests.py
2017-07-29 20:47:28 -04:00
eric b59ed38344 Fix stripe tests again 2017-07-28 13:13:18 -04:00
eric f1dd40fe00 delint 2017-07-28 12:40:34 -04:00
eric a745223e3c fix brittle tests 2017-07-28 12:26:26 -04:00
eric db97a98ae8 https 2017-07-27 10:33:13 -04:00
eric 5eebeae378 frontend tests run on fixtures 2016-12-29 14:11:17 -05:00
eric cd9e2cf8ea fix more tests 2016-07-25 11:32:24 -04:00
eric b1e6dcec4f update tests for explicit fixture loading 2016-07-23 12:08:28 -04:00
eric c01459c059 fixed kw editing for non-staff, added tests 2016-07-14 12:25:18 -04:00
eric f3d30615bb remove unused blocktrans
Must have been a django version change
2016-05-25 09:12:37 -04:00
eric bca17837a0 add fixtures in testcases 2016-04-09 13:21:12 -04:00
eric a4e9855b35 revert to older, patched Notification 2016-04-08 18:45:50 -04:00
eric 562be5f12d patch django-notification 2016-04-07 20:37:54 -04:00
eric 60bc236ab4 init mimetypes 2016-03-25 14:13:39 -04:00
eric b467c185eb improve test coverage 2015-02-12 13:37:51 -05:00
eric f86da03eef added tests 2014-12-03 11:47:59 -05:00
eric c105b0839d fix test 2014-07-03 16:36:36 -04:00
eric 9303f2639e added to page tests 2014-05-08 11:57:22 -04:00
eric e66c54e3dc fix test failures 2014-02-21 13:16:55 -05:00
eric 159ad0db05 fix tests, fix bugs found by tests 2013-08-20 01:01:36 -04:00
eric 9b901d838c token test for marc page 2013-07-29 16:49:50 -04:00
Raymond Yee dabaa2f843 update tests to account for new events (now stripe allows multiple cards/customer and now generates card related events in addition to customer events) 2013-07-15 14:52:29 -07:00
Andromeda Yelton ad69580b2d PEP 8, PEP 328. I feel better now. 2013-06-03 12:31:39 -04:00
Raymond Yee 037c917d74 Change expected http response code from 302 to 200 on wishlist add to match change in UI. 2013-03-12 20:37:53 -07:00
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