Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #47724
| From | Roy Smith <roy@panix.com> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Why doesn't nose see my plugin? |
| Date | 2013-06-11 21:43 -0400 |
| Organization | PANIX Public Access Internet and UNIX, NYC |
| Message-ID | <roy-1C4A94.21430511062013@news.panix.com> (permalink) |
| References | <roy-FDF804.20545811062013@news.panix.com> <69d4486b-d2ff-4830-b16e-f3f6ea73d494@kt20g2000pbb.googlegroups.com> |
In article
<69d4486b-d2ff-4830-b16e-f3f6ea73d494@kt20g2000pbb.googlegroups.com>,
alex23 <wuwei23@gmail.com> wrote:
> On Jun 12, 10:54 am, Roy Smith <r...@panix.com> wrote:
> > I'm attempting to write a nose plugin. Nosetests (version 1.3.0) is not
> > seeing it.
> >
> > setup(
>
> > entry_points = {
> > 'nose.plugins.1.10': ['mongoreporter =
> > mongo_reporter.MongoReporter'],
> > },
>
> Hey Roy,
>
> I've never actually written a nose plugin so this is a wild stab in
> the dark, but should the entry point be 'nose.plugins.1.3.0' in order
> to reflect the version of nose?
I took the above directly from the example in
https://nose.readthedocs.org/en/latest/plugins/writing.html
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. I'm still trying to wrap my head
completely around setuptools. I haven't fully figured out how the entry
points stuff works.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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