get version for cdrdao too.

Add debug commands: rip debug version cdrdao/cdparanoia
This commit is contained in:
Thomas Vander Stichele
2013-07-13 11:31:27 +02:00
parent cc2ee6ba07
commit 7813103a4d
7 changed files with 106 additions and 25 deletions

View File

@@ -65,7 +65,11 @@ class ErrorTestCase(common.TestCase):
class VersionTestCase(common.TestCase):
def testGetVersion(self):
self.failUnless(cdparanoia.getCdParanoiaVersion())
v = cdparanoia.getCdParanoiaVersion()
self.failUnless(v)
# of the form III 10.2
# make sure it ends with a digit
self.failUnless(int(v[-1]))
class AnalyzeFileTask(cdparanoia.AnalyzeTask):