Message108244
> If you use Python 2.7 then the following at the end of the test module enables the same command line features that David Murray pointed you to:
>
> if __name__ == '__main__':
> unittest.main()
Unfortunately, test_httpservers.py from stdlib contains this code:
def test_main(verbose=None):
try:
cwd = os.getcwd()
test_support.run_unittest(BaseHTTPServerTestCase,
SimpleHTTPServerTestCase,
CGIHTTPServerTestCase
)
finally:
os.chdir(cwd)
if __name__ == '__main__':
test_main() |
|
Date |
User |
Action |
Args |
2010-06-20 20:01:17 | techtonik | set | recipients:
+ techtonik, exarkun, pitrou, giampaolo.rodola, r.david.murray, michael.foord |
2010-06-20 20:01:14 | techtonik | link | issue9028 messages |
2010-06-20 20:01:14 | techtonik | create | |
|