Update DEB-specs to 2013.2 version
[openstack-build/neutron-build.git] / debian / tests / python-neutron
diff --git a/debian/tests/python-neutron b/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