Comments (4)
I'm doing it inside of tests/test_integration
. I prefer this over mocks.
from dj-stripe.
These are really the only two files that aren't at 100%
The third, settings.py, has 10 lines are called only in django < 1.7 and I'm not sure how to test them in one coverage run.
from dj-stripe.
models.py is now the only file left. I added view tests as integration tests, but tests now take about 90 seconds, which is pretty unbearable. I would prefer mocks for test quickness alone.
progress is in #191
from dj-stripe.
done.
from dj-stripe.
Related Issues (20)
- Creating WebhooksEndpoint locally raises tolerance constraint failed error HOT 6
- How do I use the secret and public keys in settings when configured from admin? HOT 2
- Syncing data from stripe to djstripe_product table HOT 1
- Link LineItem to an Invoice via some foreign key or related manager HOT 1
- Allow passing parameters to Invoice.retry() HOT 1
- What does it mean: " given that dj-stripe holds a copy of all your data regardless."? dj-stripe is who? what data? HOT 1
- dj-stripe 2.8 release HOT 2
- Add support for EU Bank Transfer payment method HOT 1
- `CommandError: Unknown model: djstripe.cd` HOT 1
- Can't create webhook endpoint with the admin HOT 19
- Invoice.discounts sync error HOT 4
- Subscription objects are missing a currency field HOT 2
- When I search on google, I see some ambiguous docs. HOT 1
- "No API key provided" error when adding a Webhook from Django Admin UI HOT 5
- API Key not defaulting to database key, when using _api_create HOT 3
- Upcoming invoice sync fails HOT 3
- Webhook form failing validation for docker stripe/cli
- Billing.unit_amount_decimal returns a database error if the value is more than 7 digits HOT 1
- CI of Project is failing and has been for months. HOT 4
- djstripe.models.payment_methods.PaymentMethod.DoesNotExist: PaymentMethod matching query does not exist HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dj-stripe.