testing.test_code module

class testing.test_code.CodeTest(methodName='runTest')[source]

Bases: testing.DuplicityTestCase

run_checker(cmd, returncodes=[0])[source]
test_2to3(*args, **kwargs)[source]
test_pep8(*args, **kwargs)[source]

Test that we conform to PEP-8 using pycodestyle.

test_pylint(*args, **kwargs)[source]

Pylint test (requires pylint to be installed to pass)