Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

test_Prank_tool: handle Prank's new stdout logging style

Old Prank output:

PRANK: converting 'Quality/example.fasta' to 'temp with space.fas'

New Prank output:

 PRANK v.130820:

Input for the analysis
 - converting 'Quality/example.fasta' to 'temp with space.fas'
  • Loading branch information...
commit aabf33e7d5a2d69e8164c0d172bfb0fa25d9d09e 1 parent e931c2c
Eric Talevich etal authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  Tests/
3  Tests/
@@ -159,7 +159,8 @@ def conversion(self, prank_number, prank_ext, format):
+ ' -convert')
self.assertEqual(str(eval(repr(cmdline))), str(cmdline))
message, error = cmdline()
- self.assertTrue(("PRANK: converting '%s' to '%s'" % (self.input, filename))
+ self.assertTrue("PRANK" in message, message)
+ self.assertTrue(("converting '%s' to '%s'" % (self.input, filename))
in message, message)
self.assertEqual(error, "")
Please sign in to comment.
Something went wrong with that request. Please try again.