testtools-dev team mailing list archive
-
testtools-dev team
-
Mailing list archive
-
Message #00519
[Bug 694126] Re: Convenience method for attaching files as details
** Changed in: testtools
Status: Triaged => In Progress
** Changed in: testtools
Assignee: (unassigned) => Jonathan Lange (jml)
** Branch linked: lp:~jml/testtools/more-content-convenience
--
You received this bug notification because you are a member of testtools
developers, which is subscribed to testtools.
https://bugs.launchpad.net/bugs/694126
Title:
Convenience method for attaching files as details
Status in testtools:
In Progress
Bug description:
A very common use case for details is to attach a file to a test run. It would be nice if there were a mindless way of doing this with a syntax like::
self.attachFile('file-name', '/path/to/file', mime_type='text/html')
Or something similar.
References