pip_tkinter.test package

Submodules

pip_tkinter.test.test_gui_app module

class pip_tkinter.test.test_gui_app.EventGenerator(target_widget)[source]

Bases: threading.Thread

Event Generator class : Inject events from different thread into tkinter mainloop()

class pip_tkinter.test.test_gui_app.TestGUIApp(methodName='runTest')[source]

Bases: unittest.case.TestCase

Test the GUI application and it’s different GUI events

Order of testing :

  1. Welcome page
  2. Install page
  3. Install From PyPI
  4. Install From Local archive
  5. Install From Requirements
  6. Insall From PythonLibs
  7. Manage Installed Modules page
  8. Uninstall Package
  9. Update Package
  10. Freeze Requirements
check_freeze_requirements()[source]

Test freeze requirements page

check_install_from_local_archive()[source]

Test install from local archive

check_install_from_pypi()[source]

Test install from pypi

check_install_from_pythonlibs()[source]

Test install from pythonlibs

check_install_from_requirements()[source]

Test install from requirements

check_install_page()[source]

Test install page

check_manage_installed_modules()[source]

” Test manage installed modules page

check_uninstall_modules()[source]

Test uninstall packages page

check_update_modules()[source]

Test update package page

check_welcome_page()[source]

Test welcome page

classmethod setUpClass()[source]
classmethod tearDownClass()[source]
test_application()[source]

pip_tkinter.test.test_init module

class pip_tkinter.test.test_init.InitTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

setUp()[source]
tearDown()[source]
test_something()[source]

pip_tkinter.test.test_multi_items_list module

class pip_tkinter.test.test_multi_items_list.TestMultiItemsList(methodName='runTest')[source]

Bases: unittest.case.TestCase

Test the GUI application and it’s different GUI events

setUp()[source]
tearDown()[source]
test_number_of_elements_in_tree_view()[source]
test_number_of_headers_in_tree_view()[source]
test_only_single_selection_is_allowed()[source]

pip_tkinter.test.test_pip_extensions module

pip_tkinter.test.test_utils module

class pip_tkinter.test.test_utils.UtilsTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

setUp()[source]
tearDown()[source]
test_something()[source]

Module contents

pip_tkinter.test.load_tests(loader, standard_tests, test_pattern)[source]

Load tests