topshape.tests package¶
Submodules¶
topshape.tests.test_topshape module¶
Unit testing module for the topshape module.
-
class
topshape.tests.test_topshape.
TestBodyBox
(methodName='runTest')[source]¶ Bases:
unittest.case.TestCase
Unit tests for BodyBox class.
-
class
topshape.tests.test_topshape.
TestCacheThread
(methodName='runTest')[source]¶ Bases:
unittest.case.TestCase
Unit tests for CacheThread class.
Test CacheThread.start() with no footer.
-
class
topshape.tests.test_topshape.
TestHeader
(methodName='runTest')[source]¶ Bases:
unittest.case.TestCase
Unit tests for Header class.
-
class
topshape.tests.test_topshape.
TestTopShape
(methodName='runTest')[source]¶ Bases:
unittest.case.TestCase
Unit tests for TopShape class.
-
test__handle_key_with_input
()[source]¶ Test TopShape.handle(‘f’) where pressing ‘f’ will cause an input request from the user.
Test TopShape.create_app() with footer function
-
test_exit_help_not_in_help_already
()[source]¶ Test TopShape.exit_help(), not displaying help already
-
test_handle_help_quit_in_help
()[source]¶ Test TopShape.handle(‘q’) and TopShape.handle(‘esc’) while help output is displayed.
-