~ubuntuone-control-tower/software-center/trunk

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import subprocess
import unittest

class TestPyflakesClean(unittest.TestCase):
    """ ensure that the tree is pyflakes clean """

    def test_pyflakes_clean(self):
        self.assertEqual(subprocess.call(
                ["pyflakes", "bin", "contrib", "softwarecenter",
                 "tests", "utils"]),
                         0)


if __name__ == "__main__":
    unittest.main()