[New-bugs-announce] [issue1006] Refactor test_winreg.py to use unittest.

Atul Varma report at bugs.python.org
Fri Aug 24 02:23:08 CEST 2007


New submission from 
					Atul Varma
				:

This patch refactors test_winreg.py to use unittest.  When this patch is
applied, Lib/test/output/test_winreg can be removed.

I also made a few formatting changes to ensure that all lines are
constrained to 80-characters.

The original test_winreg.py took a command-line argument, "--remote", to
specify the name of a remote computer to run tests on.  For now, I've
added a unittest test called "testRemoteMachineRegistryWorks" which
raises a test_support.TestSkipped exception if the "--remote" argument
wasn't specified.  I'm not sure if this is optimal behavior; it can be
changed if not, of course.

----------
components: Tests
files: refactor_test_winreg.py.patch
messages: 55232
nosy: varmaa
severity: normal
status: open
title: Refactor test_winreg.py to use unittest.
versions: Python 2.6

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1006>
__________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: refactor_test_winreg.py.patch
Type: application/octet-stream
Size: 12191 bytes
Desc: not available
Url : http://mail.python.org/pipermail/new-bugs-announce/attachments/20070824/1ea52c47/attachment-0001.obj 


More information about the New-bugs-announce mailing list