<repo_name>vchennepalli/hello-world<file_sep>/build.py
#!/usr/bin/env python
import sys
import os
import subprocess


class CiBuild(object):

    def __init__(self):
        self._root_dir = os.getcwd()
        print('Root directory %s' % self._root_dir)
        self._unit_test_dir = os.path.normpath('%s/unit_test' % self._root_dir)
        print('Unit test script location %s' % self._unit_test_dir)
        
    def run_unit_tests(self):
        scriptToRun = 'python ' + self._unit_test_dir + "/unit_test_script.py"
        subprocess.Popen(scriptToRun, cwd=self._root_dir, shell=True)
        print('Unit test script completed successfully')

        
        
cibuild = CiBuild()
cibuild.run_unit_tests()

<file_sep>/unit_test/unit_test_script.py
import sys
import os

path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
if not path in sys.path:
    sys.path.insert(1, path)
del path

from hello_world import sum

print "############# Unit Test Script"

print "############# Test case 1"
total = sum(3, 4)
print "Total:", total


print "############# Test case 2"
total = sum(10, 4)
print "Total:", total

<file_sep>/hello_world.py

print ("Hello World!!!")


def hello() :
    print ("My first github repository")    


def sum(a, b) :
    return a+b;


hello()

