How to override ~/.noserc settings at command-line?

187 views
Skip to first unread message

Matt Wilson

unread,
May 21, 2009, 10:46:14 AM5/21/09
to nose-users
My ~/.noserc looks like this:

$ cat ~/.noserc
[nosetests]

# Run doctests as well.
with-doctest=1

# Be very verbose.
verbosity=3

# Quit after the first failed test.
stop=1

# Hide all the logs by default.
nologcapture=1

Is it possible to override the nologcapture setting from "do not
display" to "yes, do display" at the command line?

Kumar McMillan

unread,
May 21, 2009, 11:45:31 AM5/21/09
to nose-...@googlegroups.com
Not that I know of. I have run into problems similar to this where I
want to turn something off in a config then turn it on again on the
command line. Unfortunately, I can't envision a good solution to this
considering how optparse works.

> >
>
Reply all
Reply to author
Forward
0 new messages