all repos — py-vite @ 594cd73dc3c3210f5bf15b4423974d28923a2690

the original vite, written in python

chore: add bin/ and tests/ (not functional)
Anirudh icyph0x@protonmail.com
Tue, 27 Mar 2018 00:46:16 +0530
commit

594cd73dc3c3210f5bf15b4423974d28923a2690

parent

b93bd0a4acb34cc47cf1e5f990cc7b81ade8c2d7

3 files changed, 15 insertions(+), 0 deletions(-)

jump to
A bin/install.sh

@@ -0,0 +1,3 @@

+#!/bin/bash + +
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()