integration-tests: route inheritance flags
refs: #1687
Change-Id: If334f39ab119d608bc66dafce022397dab3dd17c
diff --git a/test_route_inheritance/test_route_inheritance.py b/test_route_inheritance/test_route_inheritance.py
new file mode 100644
index 0000000..7f81205
--- /dev/null
+++ b/test_route_inheritance/test_route_inheritance.py
@@ -0,0 +1,28 @@
+#!/usr/bin/python2
+
+import os
+import unittest
+import subprocess
+
+class test_route_inheritance(unittest.TestCase):
+ """Test case for testing route inheritance flags"""
+
+ def setUp(self):
+ print "\nTesting route inheritance flags"
+ print "*****************************"
+ os.chdir("test_route_inheritance")
+ os.system("mkdir -p logs")
+
+ def tearDown(self):
+ print "********************************"
+ os.chdir("..")
+
+ def test_route_inheritance(self):
+ print ">>> test route inheritance <<<"
+
+ ret = subprocess.call(['./route-inheritance-test.sh'], shell=True)
+
+ if (ret != 0):
+ self.fail(" >> TEST ROUTE INHERITANCE FLAGS FAILED")
+ else:
+ print ">> TEST ROUTE INHERITANCE FLAGS PROCEDURE PASSED SUCCESSFULLY"