On 02/27/2014 01:08 PM, Tejas Shah wrote:
However, starting the mailman server using "mailman start", when i try to test using "nose2 -v" , it gives me o/p:
You don't have to start mailman before running tests, but it should be OK.
Ran 593 tests in 43.713s FAILED (failures=11, errors=72)
I guess most of them are for HTTP Sockets..
Perhaps if you reported the exact failures and errors we could say more.
I tried opening localhost:8001 and its giving "405 Method Not Allowed" error on the page
This is normal. The REST server doesn't accept a GET /
Please suggest appropriate headers to solve this.
See src/mailman/rest/docs/basic.rst. Are the doctests here among the failures? Also see "mailman info" for the rest server base URL (probably something like <http://localhost:8001/3.0/>) and credentials.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan