testing.test_code module

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

Bases: DuplicityTestCase

run_checker(cmd, returncodes=None)[source]
test_black()[source]

Black check for out of format files

test_pep8()[source]

Test that we conform to PEP-8 using pycodestyle.

test_pylint()[source]

Pylint test (requires pylint to be installed to pass)