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

update sample_test.py - excluded modpath

parent 8f844c03
No related branches found
No related tags found
No related merge requests found
Pipeline #52 passed
...@@ -25,11 +25,8 @@ class TestBasicFunction(unittest.TestCase): ...@@ -25,11 +25,8 @@ class TestBasicFunction(unittest.TestCase):
self.assertEqual(s, "<class 'module'>") self.assertEqual(s, "<class 'module'>")
def test_AmpScan_imports(self): def test_AmpScan_imports(self):
print("PATH 0:") #modPath = os.path.abspath(os.getcwd())
print(sys.path[0]) #sys.path.insert(0, modPath)
modPath = os.path.abspath(os.getcwd())
sys.path.insert(0, modPath)
#from modPath import align
print("Check add new path 0:") print("Check add new path 0:")
print(sys.path[0]) print(sys.path[0])
import AmpScan.core import AmpScan.core
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment