List of all members.
Definition at line 56 of file test_email.py.
Member Function Documentation
Like assertEqual except use ndiff for readable output.
Definition at line 57 of file test_email.py.
00058 def ndiffAssertEqual(self, first, second):
00059 """Like assertEqual except use ndiff for readable output."""
00060 if first != second:
00061 sfirst = str(first)
00062 ssecond = str(second)
00063 rfirst = [repr(line) for line in sfirst.splitlines()]
00064 rsecond = [repr(line) for line in ssecond.splitlines()]
00065 diff = difflib.ndiff(rfirst, rsecond)
00066 raise self.failureException(NL + NL.join(diff))
The documentation for this class was generated from the following file: