mirumee / django-prices

Django fields for the prices module
158 stars 52 forks source link

Add test for field validations #24

Closed bogdal closed 8 years ago

bogdal commented 8 years ago

Django >1.9 by default checks all fields. This PR adds test for these validations.

This PR requires https://github.com/mirumee/prices/pull/16 to pass all tests.

bogdal commented 8 years ago

I have just realized that _check_default method was removed from Django. It seems we don't need this test anymore. Related ticket https://code.djangoproject.com/ticket/25417.