~adam-collard/charms/trusty/swift-proxy/add-pause-resume-actions

« back to all changes in this revision

Viewing changes to unit_tests/test_swift_hooks.py

  • Committer: Christopher Glass
  • Date: 2015-09-07 14:18:22 UTC
  • mfrom: (106.1.5 lib-in-python-package)
  • Revision ID: christopher.glass@canonical.com-20150907141822-69auo1g57dnkc4je
Merge lp:~adam-collard/charms/trusty/swift-proxy/lib-in-python-package [a=adam.collard] [r=tribaal]

Refactor hooks/lib into a lib/ folder to prepare for actions implementation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
from mock import patch
 
2
import sys
2
3
import unittest
3
4
import uuid
4
5
 
5
 
 
 
6
sys.path.append("hooks")
6
7
with patch('charmhelpers.core.hookenv.log'):
7
8
    import swift_hooks
8
9