integration-tests: test udp permanent face
refs: #2994
Change-Id: I7fcde62b12f9d9c83dfe2e9a072c1b0158ebe39d
diff --git a/test_permanent_face/test_permanent_face.py b/test_permanent_face/test_permanent_face.py
new file mode 100644
index 0000000..430c985
--- /dev/null
+++ b/test_permanent_face/test_permanent_face.py
@@ -0,0 +1,28 @@
+#!/usr/bin/python2
+
+import os
+import unittest
+import subprocess
+
+class test_permanent_face(unittest.TestCase):
+ """Test case for testing udp permanent face"""
+
+ def setUp(self):
+ print "\nTesting UDP permanent face"
+ print "*****************************"
+ os.chdir("test_permanent_face")
+ os.system("mkdir -p logs")
+
+ def tearDown(self):
+ print "********************************"
+ os.chdir("..")
+
+ def test_permanent_face(self):
+ print ">>> test permanent face <<<"
+
+ ret = subprocess.call(['./permanent-face-test.sh'], shell=True)
+
+ if (ret != 0):
+ self.fail(" >> TEST PERMANENT FACE FAILED")
+ else:
+ print ">> TEST PERMANENT FACE PROCEDURE PASSED SUCCESSFULLY"