changes in tests

This commit is contained in:
yolanda.robla@canonical.com 2013-11-29 11:22:35 +01:00
parent 49db679a7a
commit 523d1c43a3
5 changed files with 2 additions and 3 deletions

2
.coverage Normal file
View File

@ -0,0 +1,2 @@
}q(U collectorqU coverage v3.7qUlinesq}qU:/home/yolanda/development/precise/heat/hooks/heat_utils.pyq]q(KK
esu.

0
hooks/__init__.py Normal file
View File

View File

@ -210,7 +210,6 @@ def import_key(keyid):
def configure_installation_source(rel):
juju_log("in configure %s" % rel)
'''Configure apt installation source.'''
if rel == 'distro':
return
@ -220,7 +219,6 @@ def configure_installation_source(rel):
f.write(DISTRO_PROPOSED % ubuntu_rel)
elif rel[:4] == "ppa:":
src = rel
juju_log("add apt %s" % src)
subprocess.check_call(["add-apt-repository", "-y", src])
elif rel[:3] == "deb":
l = len(rel.split('|'))

View File

@ -1,3 +1,2 @@
import sys
sys.path.append('hooks/')