Closed codingjoe closed 10 years ago
@syphar tests are still missing. Do you have is there a good way to test the model without mocking the underlying API?
@codingjoe like django itself does tests. By just creating a small app that is tested then.
See https://github.com/django/django/tree/master/tests/choices https://github.com/django/django/blob/master/tests/runtests.py
But against which backend?
either a test-backend
or mock the calls (with mock, the pytest monkeypatch or httpretty)
In general,
seperate commits for seperate features ...
but we'll keep it for now
I you split the signal-part (which seems nearly finished) and the tests for it, we can merge this part @codingjoe
closing (unmerged) because of problems that arose
Adds a new Django model, that maps CloseIO to Django fields. It includes a separate manager and pseudo decorators for field mapping as well as mapping functions.