Skip Menu |

This queue is for tickets about the Lingua-Translate CPAN distribution.

Report information
The Basics
Id: 61180
Status: open
Priority: 0/
Queue: Lingua-Translate

People
Owner: Nobody in particular
Requestors: XSAWYERX [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Can't install - test fails because URL replies differently
When trying to install last version (0.09), it fails: $ perl -Ilib t/01-babelfish.t 1..4 ok 1 - use Lingua::Translate::Babelfish; ok 2 - Lingua::Translate::Babelfish->new() ok 3 - Lingua::Translate::Babelfish->translate [en -> de] not ok 4 - dies with bad URI # Failed test 'dies with bad URI' # at t/01-babelfish.t line 27. # 'Babelfish response unparsable, brain needed at lib/Lingua/Translate/Babelfish.pm line 222. # ' # doesn't match '(?-xism:Bad hostname|Request timed out)' # Looks like you failed 1 test of 4. The page actually replies with: <p><big><b>Page Not Found!</b></big></p> <p>The requested URL was not found, please contact with your administrator. </p>
Hm, http://badbadbad/translate replies with actual content? I guess you're behind a proxy. The test should probably check the response code, not the content.