Thanks for letting us know.
On Jul 2, 6:02 am, Kerem Eryılmaz wrote:
> Solved. It turns out the tests failed iff I included a specific xmlrpc
> function which streams xml. It contained the line:
>
> response.headers['Content-Type'] = 'application/xml'
>
> which made the test page fail expecting t
Correction:
since what is returned by _TEST is html and not well-formed xml
-->
since what is returned to _TEST is html and not well-formed xml
On Jul 2, 2:02 pm, Kerem Eryılmaz wrote:
> Solved. It turns out the tests failed iff I included a specific xmlrpc
> function which streams xml. It conta
Solved. It turns out the tests failed iff I included a specific xmlrpc
function which streams xml. It contained the line:
response.headers['Content-Type'] = 'application/xml'
which made the test page fail expecting to see html; since what is
returned by _TEST is html and not well-formed xml which
Can you email me your app?
Massimo
On 1 Lug, 10:16, Kerem Eryılmaz wrote:
> Through the administrative interface of web2py. I click on the test
> for all controllers i.e.http://localhost:8000/admin/default/test/app_name
>
> On Jul 1, 3:06 pm, mdipierro wrote:
>
> > How are you calling the tests
Through the administrative interface of web2py. I click on the test
for all controllers i.e. http://localhost:8000/admin/default/test/app_name
On Jul 1, 3:06 pm, mdipierro wrote:
> How are you calling the tests?
>
> On 1 Lug, 03:49, Kerem Eryılmaz wrote:
>
>
>
> > Hmm... This might be the proble
How are you calling the tests?
On 1 Lug, 03:49, Kerem Eryılmaz wrote:
> Hmm... This might be the problem then, the doctest results that do not
> get loaded are returned as "Content-Type application/xml" whereas the
> other tests are "Content-Type text/html; charset=utf-8". Since the
> returned ht
Hmm... This might be the problem then, the doctest results that do not
get loaded are returned as "Content-Type application/xml" whereas the
other tests are "Content-Type text/html; charset=utf-8". Since the
returned html isn't a well formed xml, I am getting this error. Do you
have an idea why the
The test controller generates " and that is a piece of
html received via ajax, not xml. It should be valid.
On 30 Giu, 15:25, Kerem Eryılmaz wrote:
> I ran the admin application's test page for my controller
> (i.e.http://127.0.0.1:8000/admin/default/test/std/etc.py) through firebug,
> and i
I ran the admin application's test page for my controller (i.e.
http://127.0.0.1:8000/admin/default/test/std/etc.py) through firebug,
and it looks like it is an issue with the xml produced by web2py. The
parser fails and the page is never updated (i.e. keeps flashing
"please wait") but the response
9 matches
Mail list logo