bugzilla-tool needs PyUnit testing.
I looked at this a little the other day. I found that PyUnit (unitest module) uses a code style which does not conform to modern python style guides. This was very confusing, but shouldn't block me using it. I searched the web a little and did not find any guidance on the matter.
git cl (a similar tool which Chromium uses) has a whole set of test suites:
but they're bash files... which is also kinda nasty. (elegant, but nasty).
I've added a few tests. I'll keep this around for adding the scm_unittest.py (which are the tricky ones).
Created attachment 34078 [details]
I've broken off the bugzilla bits into bug 27991.
Comment on attachment 34078 [details]
This looks like a good start. We'll need to do more eventually, but I like the idea of building a fake repo in the tmp directory.
Committing to http://svn.webkit.org/repository/webkit/trunk ...
r46772 = 2216d9a41da59a3e65c137e9fdd39b75776a7286 (trunk)
No changes between current HEAD and refs/remotes/trunk
Resetting to the latest refs/remotes/trunk