[squeak-dev] LocaleTest testIsFontAVailable
Tobias Pape
Das.Linux at gmx.de
Fri Mar 17 15:40:02 UTC 2017
> On 17.03.2017, at 16:30, Eliot Miranda <eliot.miranda at gmail.com> wrote:
>
> Hmph...
>
> ensureInternetConnectionTo: url
>
> "(Smalltalk classNamed: 'WebClient') httpGet: 'http://www.google.com'"
> ((Smalltalk classNamed: 'WebClient') httpGet: url) isSuccess
> ifFalse: [Error signal: 'No internet connection available, but test requires one']
>
>
> (Smalltalk classNamed: 'WebClient') httpGet: url WebResponse(HTTP/1.1 403 Forbidden
> date: Fri, 17 Mar 2017 15:28:14 GMT
> server: Apache/2.2.31
> content-length: 206
> content-type: text/html; charset=iso-8859-1
>
> )
>
> Can someone please fix this without assuming that the runner of the test has the credentials of a particular person?
Well, lets use something we have control over, such as squeak.org?
Other than that, testing internet availability is hard, lets go shopping.
Best regards
-Tobias
More information about the Squeak-dev
mailing list
|