Commit Graph

58 Commits

Author SHA1 Message Date
William Grant c19043d70f Use a better, tested Tag=Value parser. 2011-03-12 12:28:39 +11:00
William Grant e74405d27a Raise more descriptive exceptions, DuplicateTag and InvalidTagSpec. 2011-03-12 12:24:55 +11:00
William Grant f9c2c2dcd9 Add license header to test_dkim. 2011-03-10 09:32:15 +11:00
William Grant 42a463cc23 Test that whitespace around tags and values is stripped. 2011-03-09 22:50:08 +11:00
William Grant f8fb2d952d Fail if there is a duplicate tag. 2011-03-09 22:48:34 +11:00
William Grant 98c72db3b1 Add a (hopefully correct) Tag=Value list parser, with tests. 2011-03-09 22:46:17 +11:00
William Grant 58525fbbd7 Add basic end-to-end signing and verification tests. 2011-03-09 20:10:18 +11:00
William Grant 508ad7ceec Add a couple of tests for fold(). One disabled, because the function is broken. 2011-03-09 18:47:11 +11:00