| # -*- Mode:python; c-file-style:"gnu"; indent-tabs-mode:nil -*- */ |
| # Copyright (C) 2014 Washington University in St. Louis |
| # Author: Hila Ben Abraham <hila@wustl.edu> |
| # See COPYING for copyright and distribution information. |
| class test_hub_discovery(unittest.TestCase): |
| """Test case for testing NDN Hub Discovery NDN hub discovery procedure""" |
| print "\nTesting NDN hub discovery procedure" |
| print "*****************************" |
| os.chdir("test_hub_discovery") |
| os.system("mkdir -p logs") |
| print "********************************" |
| def test_hub_discovery(self): |
| print ">>> test hub discovery procedure <<<" |
| ret = subprocess.call(["./hub-discovery-test.sh"], shell=True) |
| self.fail(" >> TEST HUB DISCOVEY PROCEDURE FAILED") |
| print ">> TEST HUB DISCOVEY PROCEDURE PASSED SUCCESSFULLY" |