← Back to team overview

dulwich-users team mailing list archive

[PATCH 0/8] Improved web tests.

 

This greatly increases the test coverage of web.py, which is good. The first patch fixes a bug in my tree iteration code. Not sure how that one got through, sorry.

Patches are also available at my github fork:
http://github.com/dborowitz/dulwich


ad2a771 Fix iter_tree_contents iteration.
0381e98 web: Distinguish between missing files and read errors.
7066513 Correct PSF copyright on web.date_time_string.
f818b25 test_web: Use MemoryRepo for tests instead of complex fakes.
2a9db25 test_web: Simplify assertions about Content-Type.
cb386b9 test/utils: Return non-__slot__ subclasses from make_object.
483b7fa Add more tests for web.py.
061523a test_web: Ensure cache headers are set correctly.

 NEWS                      |   10 ++
 dulwich/object_store.py   |    2 +-
 dulwich/tests/test_web.py |  266 ++++++++++++++++++++++++++++++++-------------
 dulwich/tests/utils.py    |   15 +++-
 dulwich/web.py            |   20 +++-
 5 files changed, 233 insertions(+), 80 deletions(-)



Follow ups