Skip to content

Commit b05f7f2

Browse files
committed
Add unit tests for utility functions in kulya_python package
1 parent 2f49e5c commit b05f7f2

3 files changed

Lines changed: 11 additions & 0 deletions

File tree

python/src/kulya_python/tests/__init__.py

Whitespace-only changes.
Binary file not shown.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
"""import unittest
2+
from kulya_python.utils import getNodeByPath
3+
4+
class TestUtils(unittest.TestCase):
5+
def test_getNodeByPath(self):
6+
# Exemple de test
7+
node = getNodeByPath("some/path")
8+
self.assertEqual(node.getNameFr(), "Nom attendu")
9+
10+
if __name__ == '__main__':
11+
unittest.main()"""

0 commit comments

Comments
 (0)