Add unit tests for djblets.log.views

Review Request #10833 — Created Jan. 18, 2020 and updated — Latest diff uploaded

Information

Djblets
release-1.0.x
2b03f4b...

Reviewers

Add a unit test for djblets.log.views.

Adding parse_timestamp() tests, def build_query_string() tests, iter_log_lines() tests, and get_log_filtersets() tests.

  • Added a unit test for djblets.log.views, which passes (along with all other tests except ERROR: Failure: ImproperlyConfigured (Error loading MySQLdb module: No module named MySQLdb)).
  • Running ./tests/runtests.py djblets.log.tests passes all tests.

Diff Revision 3

This is not the most recent revision of the diff. The latest diff is revision 9. See what's changed.

orig
1
2
3
4
5
6
7
8
9
djblets/log/views.py
djblets/log/tests/test_log_view.py
Loading...