~james-page/charms/trusty/swift-storage/xenial

« back to all changes in this revision

Viewing changes to unit_tests/test_actions.py

  • Committer: Corey Bryant
  • Date: 2015-11-03 17:08:12 UTC
  • mfrom: (92.1.1 swift-storage)
  • Revision ID: corey.bryant@canonical.com-20151103170812-nz99uxo379cmjxvx
[james-pages,r=corey.bryant] Add tox support for lint and unit tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
 
10
10
from mock import patch
11
11
with patch('actions.hooks.lib.misc_utils.is_paused') as is_paused:
12
 
    import actions.actions
 
12
    with patch('actions.hooks.lib.swift_storage_utils.register_configs') as _:
 
13
        import actions.actions
13
14
 
14
15
 
15
16
class PauseTestCase(CharmTestCase):