# Path: tests/base.py
# class PycoreutilsBaseTest(unittest.TestCase):
#     def setUp(self):
#         self.runner = CliRunner()
#         self.cli = cli


from .base import PycoreutilsBaseTest
from __future__ import unicode_literals



class TestTee(PycoreutilsBaseTest):
    def test_tee(self):
        result = self.runner.invoke(self.cli, ['tee'], input=b'test')
        self.assertEqual(result.exit_code, 0)

# Path: tests/base.py
# class PycoreutilsBaseTest(unittest.TestCase):
#     def setUp(self):
#         self.runner = CliRunner()
#         self.cli = cli


# Path: tests/test_tee.py
from .base import PycoreutilsBaseTest

from __future__ import unicode_literals



class TestTee(PycoreutilsBaseTest):
    def test_tee(self):
        result = self.runner.invoke(self.cli, ['tee'], input=b'test')
        self.assertEqual(result.exit_code, 0)

        self.assertEqual(result.output, 'test')