Krzysztof Klimonda
3b10868832
Open binary files in the binary mode
...
Make sure that we are using binary mode to read binary files like images, this Fixes #20
2013-04-05 19:10:17 +02:00
Krzysztof Klimonda
494f7fbd8c
Fix test by mocking requests.get function
2013-03-19 15:41:55 +01:00
Krzysztof Klimonda
4580a700ab
Use media/ for files created during tests. Fixes #2
2013-03-05 01:58:11 -08:00
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
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
03e05906f8
Reorganize core package tests into modules
2013-03-03 09:10:42 -08:00