~harlowja/cloud-init/cloud-init-fix-configobj-bound

« back to all changes in this revision

Viewing changes to tests/unittests/test_cli.py

  • Committer: Joshua Harlow
  • Date: 2016-05-11 21:18:02 UTC
  • mto: (1218.2.1 cloud-init)
  • mto: This revision was merged to the branch mainline in revision 1232.
  • Revision ID: harlowja@gmail.com-20160511211802-84sdqyim4z2dem4f
Fix py26 for rhel (and older versions of python)

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
import six
5
5
 
6
6
from . import helpers as test_helpers
7
 
 
8
 
try:
9
 
    from unittest import mock
10
 
except ImportError:
11
 
    import mock
12
 
 
 
7
mock = test_helpers.mock
13
8
 
14
9
BIN_CLOUDINIT = "bin/cloud-init"
15
10