# the inclusion of the tests module is not meant to offer best practices for
# testing in general, but rather to support the `find_packages` example in
# setup.py that excludes installing the "tests" package

import logging
import unittest

import sandbox
from sandbox.simple import add_one


class TestSimple(unittest.TestCase):
    def test_add_one(self):
        self.assertEqual(add_one(5), 6)


class TestMain(unittest.TestCase):
    def setUp(self):
        pass

    def test_main(self):
        sandbox.main()


if __name__ == "__main__":
    logging.basicConfig(level=logging.DEBUG)
    unittest.main()
