Ah, okay -- both of those options make sense. I'll try my hand at Jan's
first and will report back if I have any problems.
Many thanks as always!
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.or
Serdar Tumgoren wrote:
Hello all,
Does anyone have advice for writing unit tests against variables set by
command-line options?
I have a program I'd like to run in either "debug" or "live" mode, with
various settings associated with each. Below is some pseudo-code that shows
what I'd like to do
Am 18.05.2010 22:49, schrieb Serdar Tumgoren:
Hello all,
Does anyone have advice for writing unit tests against variables set
by command-line options?
I have a program I'd like to run in either "debug" or "live" mode,
with various settings associated with each. Below is some pseudo-code
tha
Hello all,
Does anyone have advice for writing unit tests against variables set by
command-line options?
I have a program I'd like to run in either "debug" or "live" mode, with
various settings associated with each. Below is some pseudo-code that shows
what I'd like to do:
<>
mode = p.parse_args