~mterry/ubuntu-system-settings/wizard-introspection-rtm

« back to all changes in this revision

Viewing changes to tests/test_code.py.in

  • Committer: John R. Lenton
  • Date: 2014-08-05 09:32:39 UTC
  • mto: This revision was merged to the branch mainline in revision 883.
  • Revision ID: jlenton@gmail.com-20140805093239-wdep2h3poc6803ul
move helper into its own dir, include in pyflakes and pep8, modify helper to pass pyflakes and pep8

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
    )
24
24
    def test_pyflakes(self):
25
25
        pyflakes = subprocess.Popen(
26
 
            ['pyflakes3', '@CMAKE_CURRENT_SOURCE_DIR@'],
 
26
            ['pyflakes3', '@CMAKE_CURRENT_SOURCE_DIR@', '@CMAKE_CURRENT_SOURCE_DIR@/../push-helper/'],
27
27
            stdout=subprocess.PIPE, universal_newlines=True
28
28
        )
29
29
        (out, err) = pyflakes.communicate()
34
34
    )
35
35
    def test_pep8(self):
36
36
        pep8 = subprocess.Popen(
37
 
            ['pep8', '@CMAKE_CURRENT_SOURCE_DIR@'],
 
37
            ['pep8', '@CMAKE_CURRENT_SOURCE_DIR@', '@CMAKE_CURRENT_SOURCE_DIR@/../push-helper/'],
38
38
            stdout=subprocess.PIPE, universal_newlines=True
39
39
        )
40
40
        (out, err) = pep8.communicate()