Commit 3d42fff7 authored by GZhao's avatar GZhao
Browse files

remove system argv test because of confilict with jenkins

parent 15bc5765
Loading
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -8,19 +8,19 @@ cases = os.path.join(test_dir, 'testcases')
output = os.path.join(test_dir, 'test_output')
config['output'] = output
from unittest.mock import patch
os.mkdir(output)

a = []
import io
import shutil

def clear_output():
    if os.path.exists(output)
        shutil.rmtree(output)
    os.mkdir(output)

class TestMain(unittest.TestCase):
    def test_help(self):
        main(argv = None)
    # def test_help(self):
    #     main(argv = None)

    def test_quick_run_cmdline(self):
        clear_output()