← Back to team overview

testtools-dev team mailing list archive

[Bug 694126] [NEW] Convenience method for attaching files as details

 

Public bug reported:

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.

** Affects: testtools
     Importance: Wishlist
         Status: Triaged

-- 
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:
  Triaged

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.





Follow ups

References