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

Update sample_test.py

parent a8afba91
No related branches found
No related tags found
No related merge requests found
Pipeline #79 failed
...@@ -29,6 +29,8 @@ class TestBasicFunction(unittest.TestCase): ...@@ -29,6 +29,8 @@ class TestBasicFunction(unittest.TestCase):
self.assertEqual(s, "<class 'module'>") self.assertEqual(s, "<class 'module'>")
def test_import_stl(self): def test_import_stl(self):
modPath = os.path.abspath(os.getcwd())
sys.path.insert(0, modPath)
stlPath = os.path.abspath(os.getcwd()) + "\\tests\\sample_stl_sphere.stl" stlPath = os.path.abspath(os.getcwd()) + "\\tests\\sample_stl_sphere.stl"
from AmpScan.core import AmpObject from AmpScan.core import AmpObject
stlFile = "tests\\sample_stl_sphere.stl" stlFile = "tests\\sample_stl_sphere.stl"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment