Add Neutron 2015.1 for Ubuntu 14.04
[openstack-build/neutron-build.git] / trusty / debian / tests / python-neutron
diff --git a/trusty/debian/tests/python-neutron b/trusty/debian/tests/python-neutron
new file mode 100644 (file)
index 0000000..dd823e7
--- /dev/null
@@ -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