danni / django-postgres-composite-types

Postgres composite types support for Django
BSD 3-Clause "New" or "Revised" License
51 stars 13 forks source link

Add tests for forms #6

Closed mx-moth closed 8 years ago

mx-moth commented 8 years ago

Tests for the CompositeTypeField have been added. Tests for the CompositeTypeWidget are not included in this PR.

A few changes were made along the way, to make the forms API nicer and to support testing:

danni commented 8 years ago

This looks good. Since we're now testing against Django 1.9 and 1.10, let's add a test matrix into Travis to test both versions.

mx-moth commented 8 years ago

For some reason the tests have not run against the correct commit. They do work though.

mx-moth commented 8 years ago

OK, got the tests working finally. I had to make some changes to get it all being happy.