X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=trusty%2Fdebian%2Ftests%2Fpython-neutron;fp=trusty%2Fdebian%2Ftests%2Fpython-neutron;h=dd823e75d2b86f2711dc791eb4f73d5fe24e6f37;hb=3650bade146bf59a7828feda89ddb602dfea6047;hp=0000000000000000000000000000000000000000;hpb=0bcbc79c7893e3a69ff8bb600e44ec71fa8ae713;p=openstack-build%2Fneutron-build.git diff --git a/trusty/debian/tests/python-neutron b/trusty/debian/tests/python-neutron new file mode 100644 index 000000000..dd823e75d --- /dev/null +++ b/trusty/debian/tests/python-neutron @@ -0,0 +1,14 @@ +#!/bin/bash +#------------------------- +# Testing client utilities +#------------------------- +set -e + +result=$(python `dirname $0`/test_import_neutron.py 2>&1) +if [ "$result" ]; then + echo "ERROR: PYTHON-NEUTRON MODULE CANNOT BE IMPORTED" + exit 1 +else + echo "OK" + exit 0 +fi