~duplicity-team/duplicity/0.8-series

« back to all changes in this revision

Viewing changes to testing/test_code.py

* Merged in lp:~kenneth-loafman/duplicity/duplicity-pylint
  - Enable additional pylint warnings. Make 1st pass at correction.
      unused-argument,
      unused-wildcard-import,
      redefined-builtin,
      bad-indentation,
      mixed-indentation,
     unreachable
  - Renamed globals to config to fix conflict with __builtin__.glogals()
  - Resolved conflict between duplicity.config and testing.manual.config
  - Normalized emacs mode line to have encoding:utf8 on all *.py files

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# -*- Mode:Python; indent-tabs-mode:nil; tab-width:4 -*-
 
1
# -*- Mode:Python; indent-tabs-mode:nil; tab-width:4; encoding:utf8 -*-
2
2
#
3
3
# Copyright 2014 Michael Terry <michael.terry@canonical.com>
4
4
#
34
34
    # do not run the tests (e.g. the build servers)
35
35
    import pycodestyle
36
36
 
37
 
from . import _top_dir, DuplicityTestCase  # @IgnorePep8
 
37
from . import _top_dir, DuplicityTestCase
38
38
from . import find_unadorned_strings
39
39
 
40
40
skipCodeTest = pytest.mark.skipif(not os.getenv(u'RUN_CODE_TESTS', None) == u'1',