from unittest import TestCase
from cms.test_utils.util.static_analysis import pyflakes


class AboveStaticAnalysisCodeTest(TestCase):
    """
    Name is pretty lame, but ensure it's executed before every other test
    """
    def test_pyflakes(self):
        import cms
        import menus
        self.assertEqual(pyflakes((cms, menus)), 0)
