blob: 7f8120544c61f87a26797152cba60adf67e91dde [file] [log] [blame]
#!/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"