~ionutbalutoiu/charms/trusty/neutron-api/next

« back to all changes in this revision

Viewing changes to hooks/charmhelpers/contrib/python/packages.py

  • Committer: Corey Bryant
  • Date: 2015-02-19 21:24:50 UTC
  • mfrom: (77.2.5 trunk)
  • Revision ID: corey.bryant@canonical.com-20150219212450-yelpsdntpztvnogc
[gnuoy,r=1chb1n,r=corey.bryant] Add basic Amulet tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
# You should have received a copy of the GNU Lesser General Public License
18
18
# along with charm-helpers.  If not, see <http://www.gnu.org/licenses/>.
19
19
 
20
 
__author__ = "Jorge Niedbalski <jorge.niedbalski@canonical.com>"
21
 
 
22
20
from charmhelpers.fetch import apt_install, apt_update
23
21
from charmhelpers.core.hookenv import log
24
22
 
29
27
    apt_install('python-pip')
30
28
    from pip import main as pip_execute
31
29
 
 
30
__author__ = "Jorge Niedbalski <jorge.niedbalski@canonical.com>"
 
31
 
32
32
 
33
33
def parse_options(given, available):
34
34
    """Given a set of options, check if available"""