We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe0e6ff commit 580e480Copy full SHA for 580e480
python/jupytercad_lab/jupytercad_lab/notebook/tests/__init__.py
python/jupytercad_lab/jupytercad_lab/notebook/tests/test_api.py
@@ -0,0 +1,21 @@
1
+import os
2
+import unittest
3
+
4
+from jupytercad_lab import CadDocument
5
6
7
+class ProjectCreation(unittest.TestCase):
8
+ filename = "test.jcad"
9
10
+ def setUp(self):
11
+ if os.path.isfile(self.filename):
12
+ os.remove(self.filename)
13
14
+ def tearDown(self):
15
16
17
18
+ def test_creation(self):
19
+ self.doc = CadDocument(self.filename)
20
21
+ assert os.path.isfile(self.filename)
0 commit comments