"""
    Sample TestCase.
    Remove the leading underscore character from the file name
"""
import unittest

from pythonboilerplate.app import run


class TestSample(unittest.TestCase):
    """Sample test"""


    def setUp(self):
        """Set up test fixtures, if any"""


    def tearDown(self):
        """Tear down test fixtures, if any"""


    def test_app_run(self):
        """Test app run"""

        # intentionally not providing required param(s) to raise exception
        with self.assertRaises(TypeError):
            run()  # noqa

        ret = run('from test_app_run')
        self.assertEqual(0, ret)
