Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #38078
| X-Received | by 10.224.206.195 with SMTP id fv3mr8112166qab.1.1359816225709; Sat, 02 Feb 2013 06:43:45 -0800 (PST) |
|---|---|
| X-Received | by 10.49.71.135 with SMTP id v7mr1498873qeu.28.1359816225645; Sat, 02 Feb 2013 06:43:45 -0800 (PST) |
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!p13no9811003qai.0!news-out.google.com!k2ni4456qap.0!nntp.google.com!p13no8107216qai.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail |
| Newsgroups | comp.lang.python |
| Date | Sat, 2 Feb 2013 06:43:45 -0800 (PST) |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=81.206.248.113; posting-account=IikzvgoAAABqcwpyldvV2JWxjfWC3tdj |
| NNTP-Posting-Host | 81.206.248.113 |
| User-Agent | G2/1.0 |
| MIME-Version | 1.0 |
| Message-ID | <1d0edd06-2c4c-4db7-a7da-945cbb146af0@googlegroups.com> (permalink) |
| Subject | Problem with my nose test plugin |
| From | Roald <roaldosinga@gmail.com> |
| Injection-Date | Sat, 02 Feb 2013 14:43:45 +0000 |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Xref | csiph.com comp.lang.python:38078 |
Show key headers only | View raw
Hi all, I want to execute unit tests from web2py and I want to automatically discover, so I think it is wise to use nose tests for that. That way, I can write a plugin to receive the test results in stead of heaving to parse the output stream. I use nose.run(addPlugins[MyPlugin()]), and although I see the configure() and option() get called and also see that nose runs my tests. What boggles my mind is that none of my plugins functions get called. Do I need to configure something? Roald the code is on pastbin: http://pastebin.com/rcXh2VAy
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
Problem with my nose test plugin Roald <roaldosinga@gmail.com> - 2013-02-02 06:43 -0800 Re: Problem with my nose test plugin "R. Osinga" <roaldosinga@gmail.com> - 2013-02-02 07:35 -0800
csiph-web