Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #47733

Re: Why doesn't nose see my plugin?

From Roy Smith <roy@panix.com>
Newsgroups comp.lang.python
Subject Re: Why doesn't nose see my plugin?
Date 2013-06-11 22:18 -0400
Organization PANIX Public Access Internet and UNIX, NYC
Message-ID <roy-84E830.22184311062013@news.panix.com> (permalink)
References <roy-FDF804.20545811062013@news.panix.com> <69d4486b-d2ff-4830-b16e-f3f6ea73d494@kt20g2000pbb.googlegroups.com> <roy-1C4A94.21430511062013@news.panix.com> <0d704515-46c9-486a-993c-ff5add3c926d@rh15g2000pbb.googlegroups.com>

Show all headers | View raw


In article 
<0d704515-46c9-486a-993c-ff5add3c926d@rh15g2000pbb.googlegroups.com>,
 alex23 <wuwei23@gmail.com> wrote:

> On Jun 12, 11:43 am, Roy Smith <r...@panix.com> wrote:
> > Just to see what would happen, I tried changing it to:
> >
> >     entry_points = {
> >         'nose.plugins.1.3.0': ['mongoreporter =
> > testing.nose.mongo_reporter.MongoReporter'],
> >         },
> >
> > didn't appear to make any difference.
> 
> Yeah, reading some more it looks like it's referring to the version of
> the plugin API and not of nose itself, sorry for the mislead.

Thanks anyway.

In the meantime, I've worked around the problem by puttingL

if __name__ == '__main__':
    nose.main(addplugins=[MongoReporter()])

in my test file, so at least the setuptools issue isn't a blocker for 
continuing to work on the plugin.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Why doesn't nose see my plugin? Roy Smith <roy@panix.com> - 2013-06-11 20:54 -0400
  Re: Why doesn't nose see my plugin? alex23 <wuwei23@gmail.com> - 2013-06-11 18:37 -0700
    Re: Why doesn't nose see my plugin? Roy Smith <roy@panix.com> - 2013-06-11 21:43 -0400
      Re: Why doesn't nose see my plugin? alex23 <wuwei23@gmail.com> - 2013-06-11 18:45 -0700
        Re: Why doesn't nose see my plugin? Roy Smith <roy@panix.com> - 2013-06-11 22:18 -0400
  Re: Why doesn't nose see my plugin? (FIXED) roy@panix.com (Roy Smith) - 2013-06-12 12:12 -0400
    Re: Why doesn't nose see my plugin? (FIXED) alex23 <wuwei23@gmail.com> - 2013-06-12 23:18 -0700

csiph-web