~ubuntu-branches/ubuntu/oneiric/dulwich/oneiric

« back to all changes in this revision

Viewing changes to dulwich/tests/compat/test_web.py

  • Committer: Bazaar Package Importer
  • Author(s): Jelmer Vernooij
  • Date: 2011-01-21 19:38:13 UTC
  • mfrom: (1.2.14 upstream)
  • Revision ID: james.westby@ubuntu.com-20110121193813-2cnp21akwf5j0pq2
Tags: 0.7.0-1
* New upstream release.
 + Changes default test runner from nose to testtools.
* Drop Pure- from the description.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 
20
20
"""Compatibility tests between Dulwich and the cgit HTTP server.
21
21
 
22
 
Warning: these tests should be fairly stable, but when writing/debugging new
23
 
tests, deadlocks may freeze the test process such that it cannot be Ctrl-C'ed.
24
 
On *nix, you can kill the tests with Ctrl-Z, "kill %".
 
22
warning: these tests should be fairly stable, but when writing/debugging new
 
23
    tests, deadlocks may freeze the test process such that it cannot be
 
24
    Ctrl-C'ed. On POSIX systems, you can kill the tests with Ctrl-Z, "kill %".
25
25
"""
26
26
 
27
27
import threading
28
28
from wsgiref import simple_server
29
29
 
30
 
import dulwich
31
30
from dulwich.server import (
32
31
    DictBackend,
33
32
    )
39
38
    HTTPGitRequestHandler,
40
39
    )
41
40
 
42
 
from server_utils import (
 
41
from dulwich.tests.compat.server_utils import (
43
42
    ServerTests,
44
43
    ShutdownServerMixIn,
45
44
    NoSideBand64kReceivePackHandler,
46
45
    )
47
 
from utils import (
 
46
from dulwich.utils import (
48
47
    CompatTestCase,
49
48
    )
50
49