~smoser/cloud-init/lp-1077700

« back to all changes in this revision

Viewing changes to tests/unittests/test_handler/__init__.py

  • Committer: harlowja
  • Date: 2012-10-28 02:25:48 UTC
  • mto: This revision was merged to the branch mainline in revision 700.
  • Revision ID: harlowja@virtualbox.rhel-20121028022548-2m4y18xiepzn8l2e
Helpful cleanups.

1. Remove the usage of the path.join function
   now that all code should be going through
   the util file methods (and they can be
   mocked out as needed).
2. Adjust all occurences of the above join
   function to either not use it or replace
   it with the standard os.path.join (which
   can also be mocked out as needed)
3. Fix pylint from complaining about the
   tests folder 'helpers.py' not being found
4. Add a pylintrc file that is used instead
   of the options hidden in the 'run_pylint' 
   tool.

Show diffs side-by-side

added added

removed removed

Lines of Context: