
"""Tests for `pyutrack` package."""


import unittest
from click.testing import CliRunner

from pyutrack import cli


class TestYoutrack_cli(unittest.TestCase):

    def test_improt(self):
        import pyutrack

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

"""Tests for `pyutrack` package."""

import unittest
from click.testing import CliRunner

from pyutrack import cli
from tests import PyutrackTest


class TestYoutrack_cli(PyutrackTest):
    def test_improt(self):
        import pyutrack

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

Set cli tests to base test class
Set cli tests to base test class

- 
  """Tests for `pyutrack` package."""
- 
  
  import unittest
  from click.testing import CliRunner
  
  from pyutrack import cli
+ from tests import PyutrackTest
  
  
- class TestYoutrack_cli(unittest.TestCase):
+ class TestYoutrack_cli(PyutrackTest):
- 
      def test_improt(self):
          import pyutrack
  
      def test_command_line_interface(self):
          runner = CliRunner()
          result = runner.invoke(cli.cli)
          assert result.exit_code == 0
          assert 'YouTrack' in result.output
          help_result = runner.invoke(cli.cli, ['--help'])
          assert help_result.exit_code == 0
          assert 'Show this message and exit.' in help_result.output
  
Set cli tests to base test class
## Code Before:

"""Tests for `pyutrack` package."""


import unittest
from click.testing import CliRunner

from pyutrack import cli


class TestYoutrack_cli(unittest.TestCase):

    def test_improt(self):
        import pyutrack

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

## Instruction:
Set cli tests to base test class
## Code After:
"""Tests for `pyutrack` package."""

import unittest
from click.testing import CliRunner

from pyutrack import cli
from tests import PyutrackTest


class TestYoutrack_cli(PyutrackTest):
    def test_improt(self):
        import pyutrack

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