Commit Graph

7 Commits

Author SHA1 Message Date
Isaac Bythewood
b63544905e Remove screenshot that is outdated and no longer needed, add full AGPL license and update api.py to use logo image instead of screenshot for testing 2013-03-05 01:53:46 +00:00
Krzysztof Klimonda
26f9c76988 Don't use FACTORY_FOR when not needed 2013-03-04 15:33:09 -08:00
Krzysztof Klimonda
7a85f1b514 Use post_generation hooks to populate models with some data
Factory Boy provides us with a better way of populating complicated
fields (like M2M relations) than overriding _prepare class method,
so we should be using them.
2013-03-04 14:58:54 -08:00
Krzysztof Klimonda
ef818b7f82 Rewrite tests to use a Model mocker library
There has been issues when running a full test suite (for pinry and
the entire Django stack), and test fixtures are hard to maintain anyway,
so rewrite tests to use a Model mocker library (Factory Boy) to populate
database.
2013-03-04 12:06:00 -08:00
Krzysztof Klimonda
856d2d1e87 Allow filtering pins over submitter.username 2013-03-03 14:51:19 -08:00
Krzysztof Klimonda
cae9fa96be Write some more tests for all code 2013-03-03 10:09:33 -08:00
Krzysztof Klimonda
03e05906f8 Reorganize core package tests into modules 2013-03-03 09:10:42 -08:00