#!/usr/bin/env python
# -*- coding: utf-8 -*-

"""
test_python_vuejs
----------------------------------

Tests for `python_vuejs` module.



import sys
import unittest
from contextlib import contextmanager
from click.testing import CliRunner

from python_vuejs import python_vuejs
from python_vuejs import cli


class TestPython_vuejs(unittest.TestCase):

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def test_000_something(self):
        pass

    def test_command_line_interface(self):
        runner = CliRunner()
        result = runner.invoke(cli.main)
        assert result.exit_code == 0
        assert 'python_vuejs.cli.main' in result.output
        help_result = runner.invoke(cli.main, ['--help'])
        assert help_result.exit_code == 0
        assert '--help  Show this message and exit.' in help_result.output

"""

@@ -132,16 +132,20 @@
 odule.%0A%0A
+%22%22%22%0A
 %0A%0Aimport
@@ -244,46 +244,8 @@
 er%0A%0A
-from python_vuejs import python_vuejs%0A
 from
@@ -285,20 +285,15 @@
 Test
-Python_vuejs
+MainCli
 (uni
@@ -343,98 +343,33 @@
     
-pass%0A%0A    def tearDown(self):%0A        pass%0A%0A    def test_000_something(self):%0A        pass
+self.runner = CliRunner()
 %0A%0A  
@@ -383,20 +383,16 @@
 est_
-command_line
+main_cli
 _int
@@ -418,36 +418,103 @@
    r
-unner = CliRunner()%0A        
+esult = self.runner.invoke(cli.cli)%0A        self.assertEqual(0, result.exit_code)%0A        help_
 resu
@@ -510,32 +510,37 @@
   help_result = 
+self.
 runner.invoke(cl
@@ -541,20 +541,31 @@
 oke(cli.
-main
+cli, %5B'--help'%5D
 )%0A      
@@ -566,23 +566,41 @@
         
+self.
 assert
- 
+Equal(0, help_
 result.e
@@ -599,37 +599,33 @@
 result.exit_code
- == 0
+)
 %0A        assert 
@@ -621,55 +621,140 @@
     
+self.
 assert
- 'python_vuejs.cli.main' in result.output
+In('--help  Show this message and exit.', help_result.output, 'message')%0A%0A    def test_main_cli_interface_commands(self):
 %0A   
@@ -750,36 +750,40 @@
 (self):%0A        
-help
+commands
 _result = runner
@@ -776,16 +776,21 @@
 esult = 
+self.
 runner.i
@@ -799,20 +799,19 @@
 oke(cli.
-main
+cli
 , %5B'--he
@@ -828,102 +828,237 @@
     
-assert help_result.exit_code == 0%0A        assert '--help  Show this message and exit.' in help
+commands_list = %5B'vuecheck', 'startvueapp', 'vuebuild', 'vuedev', 'installvuecli',%0A                         'djangofy', 'djbuild', 'djstartvueapp'%5D%0A        for command in commands_list:%0A            self.assertIn(command, commands
 _res
@@ -1067,14 +1067,56 @@
 t.output
+)
 %0A%0A
-%22%22%22
+%0Aclass TestVueJsCli(unittest.TestCase):%0A    
 %0A

Test main cli