# Copyright (C) 2004 Anthony Baxter
"""Tests for shtoom.avail.
"""

from twisted.trial import unittest

class AvailTest(unittest.TestCase):

    def test_audioAvail(self):
        from shtoom.avail.audio import listAudio
        self.assert_(len(listAudio()) > 0)

    def test_codecAvail(self):
        from shtoom.avail.codecs import listCodecs
        self.assert_(len(listCodecs()) > 0)

# Copyright (C) 2004 Anthony Baxter
"""Tests for shtoom.avail.
"""

from twisted.trial import unittest

class AvailTest(unittest.TestCase):

    def test_audioAvail(self):
        from shtoom.avail.audio import listAudio
        self.assert_(len(listAudio()) > 0)

    def test_codecAvail(self):
        from shtoom.avail.codecs import listCodecs
        self.assert_(len(listCodecs()) > 0, listCodecs())

add more detailed diagnostics on unit test failure