Philipp Hörist pushed to branch master at gajim / gajim
Commits: bc6cb276 by Philipp Hörist at 2023-01-07T16:47:53+01:00 refactor: Restructure unittests - Separate GUI tests from common tests - Rename folders - - - - - 21 changed files: - pyproject.toml - test/gtk/__init__.py → test/common/__init__.py - test/no_gui/test_contacts.py → test/common/test_contacts.py - test/no_gui/test_regex.py → test/common/test_regex.py - test/no_gui/test_sanitize_filename.py → test/common/test_sanitize_filename.py - test/no_gui/test_styling.py → test/common/test_styling.py - test/no_gui/test_text_util.py → test/common/test_text_util.py - test/no_gui/test_uri_util.py → test/common/test_uri_util.py - test/no_gui/__init__.py → test/dialogs/__init__.py - test/gtk/assistant.py → test/dialogs/assistant.py - test/gtk/certificate_dialog.py → test/dialogs/certificate_dialog.py - test/gtk/change_password.py → test/dialogs/change_password.py - test/gtk/dataform.py → test/dialogs/dataform.py - test/gtk/fake_dataform.py → test/dialogs/fake_dataform.py - test/gtk/groupchat_info.py → test/dialogs/groupchat_info.py - test/gtk/ssl_error_dialog.py → test/dialogs/ssl_error_dialog.py - test/gtk/util.py → test/dialogs/util.py - + test/gui/__init__.py - test/no_gui/test_gtk_menus.py → test/gui/test_menus.py - test/no_gui/test_nick_completion.py → test/gui/test_nick_completion.py - test/no_gui/test_gtk_util.py → test/gui/test_util.py Changes: ===================================== pyproject.toml ===================================== @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta" [tool.codespell] -skip = "*__pycache__*,test,*.egg-info,.git,*.po,*.nsi,*.spec" +skip = "*__pycache__*,build,test,*.egg-info,.git,*.po,*.nsi,*.spec" ignore-words-list = "claus,pres,ser,trough" @@ -149,7 +149,6 @@ exclude = [ "venv", "*.pyi", # Code Folders - "gajim/gui", "typings", "gajim/common/config.py", # legacy module, will be removed "gajim/common/optparser.py", # legacy module, will be removed @@ -162,8 +161,8 @@ target-version = "py310" [tool.ruff.per-file-ignores] "test/*" = ["E402"] -"test/no_gui/test_styling.py" = ["RUF001", "E501"] -"test/no_gui/test_regex.py" = ["RUF001"] +"test/common/test_styling.py" = ["RUF001", "E501"] +"test/common/test_regex.py" = ["RUF001"] [tool.ruff.mccabe] ===================================== test/gtk/__init__.py → test/common/__init__.py ===================================== ===================================== test/no_gui/test_contacts.py → test/common/test_contacts.py ===================================== ===================================== test/no_gui/test_regex.py → test/common/test_regex.py ===================================== ===================================== test/no_gui/test_sanitize_filename.py → test/common/test_sanitize_filename.py ===================================== ===================================== test/no_gui/test_styling.py → test/common/test_styling.py ===================================== ===================================== test/no_gui/test_text_util.py → test/common/test_text_util.py ===================================== ===================================== test/no_gui/test_uri_util.py → test/common/test_uri_util.py ===================================== ===================================== test/no_gui/__init__.py → test/dialogs/__init__.py ===================================== ===================================== test/gtk/assistant.py → test/dialogs/assistant.py ===================================== ===================================== test/gtk/certificate_dialog.py → test/dialogs/certificate_dialog.py ===================================== ===================================== test/gtk/change_password.py → test/dialogs/change_password.py ===================================== ===================================== test/gtk/dataform.py → test/dialogs/dataform.py ===================================== ===================================== test/gtk/fake_dataform.py → test/dialogs/fake_dataform.py ===================================== ===================================== test/gtk/groupchat_info.py → test/dialogs/groupchat_info.py ===================================== ===================================== test/gtk/ssl_error_dialog.py → test/dialogs/ssl_error_dialog.py ===================================== ===================================== test/gtk/util.py → test/dialogs/util.py ===================================== ===================================== test/gui/__init__.py ===================================== ===================================== test/no_gui/test_gtk_menus.py → test/gui/test_menus.py ===================================== ===================================== test/no_gui/test_nick_completion.py → test/gui/test_nick_completion.py ===================================== ===================================== test/no_gui/test_gtk_util.py → test/gui/test_util.py ===================================== View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/bc6cb276b8097b833bb867f5045190f4230ffebc -- View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/bc6cb276b8097b833bb867f5045190f4230ffebc You're receiving this email because of your account on dev.gajim.org.
_______________________________________________ Commits mailing list [email protected] https://lists.gajim.org/cgi-bin/listinfo/commits
