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

"""
test_manage
----------------------------------

Tests for `manage` module.
"""

# import pytest

# from contextlib import contextmanager
from click.testing import CliRunner

from manage import cli


class TestManage(object):

    @classmethod
    def setup_class(cls):
        pass

    def test_something(self):
        pass

    def test_command_line_interface(self):
        runner = CliRunner()
        result = runner.invoke(cli.main)
        assert result.exit_code == 0
        assert 'shell' 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

    @classmethod
    def teardown_class(cls):
        pass

@@ -229,16 +229,20 @@
 m manage
+.cli
  import 
@@ -481,21 +481,28 @@
 voke(cli
-.main
+, %5B'--help'%5D
 )%0A      
@@ -615,13 +615,8 @@
 (cli
-.main
 , %5B'
@@ -687,16 +687,8 @@
 rt '
---help  
 Show

Fix test runner