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

update sample_test.py - add import stl function

parent d8801d00
No related branches found
No related tags found
No related merge requests found
Pipeline #68 failed
...@@ -28,6 +28,12 @@ class TestBasicFunction(unittest.TestCase): ...@@ -28,6 +28,12 @@ class TestBasicFunction(unittest.TestCase):
s = str(type("string")) s = str(type("string"))
self.assertEqual(s, "<class 'module'>") self.assertEqual(s, "<class 'module'>")
@unittest.expectedFailure
def test_import_stl(self):
from AmpScan.core import AmpObject
from AmpScan.tests import sample_stl_sphere.stl as stlFile
Amp = AmpObject(stlFile)
self.assertRaises(MemoryError)
if __name__ == '__main__': if __name__ == '__main__':
unittest.main() unittest.main()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment