Commit Graph

11 Commits

Author SHA1 Message Date
Jelle van der Waa
24d6042e3e devel: Add more coverage for devel.utils 2018-09-23 21:56:48 +02:00
Jelle van der Waa
d1e272d19b devel: Add test for rematch_developers 2018-08-12 19:54:58 +02:00
Jelle van der Waa
d7bac1cf28 Add tests for devel clocks 2018-07-29 22:20:52 +02:00
Jelle van der Waa
6ceb818145 devel: reporead remove old flagrequests
When updating a package in our repository remove any old 'flagged out of
date' requests.
2018-07-13 22:08:37 +02:00
Jelle van der Waa
c976d7eb30 devel: Templatetest should be a SimpleTest
The test uses database queries and should therefore be a TestCase.
2018-04-08 12:51:19 +02:00
Johannes Löthberg
f59caea0df devel/tests/test_user: Fix tests to now expect a relative URL
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
2018-04-08 12:51:19 +02:00
Johannes Löthberg
6cb364e1e1 Fix reporead test for new error message
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
2018-04-08 12:51:19 +02:00
Jelle van der Waa
b63ebfe76b devel: tests visitting reports pages
Add a simple test to fetch the reports pages in /devel and verify that
the http status is ok.
2018-03-26 22:48:24 +02:00
jelle van der Waa
f42f357fdf Mirror tests (#78)
* mirrors: Move tests to mirrors/tests

Move the tests to separate files in mirrors/tests and expand the model
tests with tests for the Mirror class.

* Add CheckLocation test

* mirrors: Add tests for template filters

Include tests for the filters used in the mirrors views.

* devel: Add tests for template filter in_group

Include a test for a simple case of the in_group filter.
2018-01-22 12:41:39 -05:00
Jelle van der Waa
5869613217 devel: remove unused variables/imports 2017-08-28 21:06:36 +02:00
Jelle van der Waa
840ff3684d devel: Add reporead test
Add a test for reporead import database functionality. Move tests for
devel to a separate directory and depend on mock for patching the
logging functonality. (Included by default in Python 3)
2017-08-25 18:35:39 +02:00