Writing tests in Python? (JUnit isn't DoingTheSimplestThing?) -- OliBye; I've tried cobra when in China, but never Python. This is something I'd like to try -- PaulSimmons
Kev could bring his digital camera to get some snaps of us, so we can look back and laugh at our hairstyles when we're really loaded.
Added the TestLinks? fixture with tests to check that a string is parsed into an array of things which are links and things which aren't links. The Link object was then written to do this. Note how it doesn't use a fancy implementation, just uses a StringTokenizer? and returns an array of strings. The use of _ makes this task easy in a small step but is not necessarily the final word
. We also noted that our use of an http get gives problems with sapces in the URL and so we added two tests, one which saves with space and one which saves without.