chore: add bin/ and tests/ (not functional)
Anirudh icyph0x@protonmail.com
Tue, 27 Mar 2018 00:46:16 +0530
3 files changed,
15 insertions(+),
0 deletions(-)
A
tests/test_create_project.py
@@ -0,0 +1,12 @@
+import unittest +from unittest.mock import MagicMock +import vite + +class ViteTest(unittest.TestCase): + def test_create_project(self): + mock_path = MagicMock('xD') + vite.create_project(mock_path) + mock_path.assert_called_with('xD') + +if __name__ == '__main__': + unittest.main()