Bug 4977 - convert all main() functions in Python modules to autotests
Summary: convert all main() functions in Python modules to autotests
Status: CLOSED WORKSFORME
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Other (show other bugs)
Version: 4.1.1
Hardware: PC Unknown
: P2 Normal
Target Milestone: 4.16.0
Assignee: Bugzilla mail exporter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-31 10:29 CET by Karl Mikaelsson
Modified: 2023-08-31 08:59 CEST (History)
0 users

See Also:
Acceptance Criteria:


Attachments

Description Karl Mikaelsson cendio 2014-01-31 10:29:26 CET
We have plenty of Python modules that have defined main() functions, often with some sort of basic functionality test of their contents. Tests are good, but tests that aren't run automatically are destined to be forgotten. We should rewrite as many of these as possible to autotests so they are run every night.

In case a main() function is not suitable for an autotests, we might as well scrap the main() function altogether.
Comment 1 Pierre Ossman cendio 2023-08-31 08:59:52 CEST
We seem to have resolved this along the way, likely during the conversion to Python 3.

Note You need to log in before you can comment on or make changes to this bug.