#16687: Several tests requiring internet fail on Ubuntu build machines
------------------------------------+-----------------------------------
               Reporter:  barry@…   |          Owner:  nobody
                   Type:  Bug       |         Status:  new
              Milestone:            |      Component:  Testing framework
                Version:  1.3       |       Severity:  Normal
             Resolution:            |       Keywords:
           Triage Stage:  Accepted  |      Has patch:  0
    Needs documentation:  0         |    Needs tests:  0
Patch needs improvement:  0         |  Easy pickings:  0
                  UI/UX:  0         |
------------------------------------+-----------------------------------
Changes (by russellm):

 * needs_docs:   => 0
 * needs_better_patch:   => 0
 * needs_tests:   => 0
 * stage:  Unreviewed => Accepted


Comment:

 Yes, there are better ways -- we can and do use the @skipUnless and
 @skipIf decorators, and we use mock services when possible. In this case,
 nobody has got around to providing a patch that either skips/expected
 fails the test when there's no network connection, or provides a mock for
 urllib (or whatever needs to be mocked in this case).

 A patch to do either of these would certainly be welcome; I'd probably
 prefer a mock to a skipped test, but I could live with either if a mock
 turns out to be too hard to achieve.

 Also - this is the second report (c.f. #16686) where you've referred to
 "the" Ubuntu build machines. Which build machines are you referring to
 here?

-- 
Ticket URL: <https://code.djangoproject.com/ticket/16687#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to