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.