Clean up pack tests.
authorDave Borowitz <dborowitz@google.com>
Tue, 9 Mar 2010 18:53:09 +0000 (10:53 -0800)
committerDave Borowitz <dborowitz@google.com>
Thu, 22 Apr 2010 21:35:45 +0000 (14:35 -0700)
commitf729d923f5de30ab12f4f8aa59c10a3112339286
tree830b55253326a82198f9af51beef5a63bc129752
parent8209a606985eeeb27a6b448363dbe7933e87906a
Clean up pack tests.

-Remove trailing whitespace.
-Fix long lines.
-Hard-code SHAs in their hexlified forms.
-Use '' consistently.
-Always write to temp directories instead of working directory.
-Various indentation and local var refactoring fixes.
-Moved TestHexToSha to test_objects.py, since those functions are from
 objects.py.
-While we're in there, also removed trailing whitespace in pack.py.

Change-Id: I19f133e3d867f31fa75e28142593f84807fbc746
dulwich/pack.py
dulwich/tests/test_objects.py
dulwich/tests/test_pack.py