Skip to content
Snippets Groups Projects
Commit 0639d136 authored by ojs1g14's avatar ojs1g14
Browse files

Add setup method to tests

parent cafa1a59
No related branches found
No related tags found
No related merge requests found
Pipeline #340 passed
...@@ -4,6 +4,10 @@ import sys ...@@ -4,6 +4,10 @@ import sys
class TestBasicFunction(unittest.TestCase): class TestBasicFunction(unittest.TestCase):
def SetUp(self):
modPath = os.path.abspath(os.getcwd())
sys.path.insert(0, modPath)
def test_running(self): def test_running(self):
print("Running sample_test.py") print("Running sample_test.py")
self.assertTrue(True) self.assertTrue(True)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment