diff options
| author | ?ric Araujo <merwok@netwok.org> | 2010-10-31 11:48:42 +0100 |
|---|---|---|
| committer | ?ric Araujo <merwok@netwok.org> | 2010-10-31 11:48:42 +0100 |
| commit | 0c60e628ab63421ac504c050934a6e09dc5b6bbd (patch) | |
| tree | aedcfa156f770033095b7b14ecd9635b797c424a /docs | |
| parent | e90c00fa351e303400529ef1554751f73b34090c (diff) | |
| download | disutils2-0c60e628ab63421ac504c050934a6e09dc5b6bbd.tar.gz | |
Fix syntax in code blocks that were not colorized
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/source/library/distutils2.tests.pypi_server.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/source/library/distutils2.tests.pypi_server.rst b/docs/source/library/distutils2.tests.pypi_server.rst index 6ad3936..c290f06 100644 --- a/docs/source/library/distutils2.tests.pypi_server.rst +++ b/docs/source/library/distutils2.tests.pypi_server.rst @@ -77,6 +77,7 @@ For this, you need to add a `server` parameter to your method, like this:: @use_pypi_server() def test_somthing(self, server): # your tests goes here + ... The decorator will instantiate the server for you, and run and stop it just before and after your method call. You also can pass the server initializer, @@ -85,4 +86,4 @@ just like this:: class SampleTestCase(TestCase): @use_pypi_server("test_case_name") def test_something(self, server): - # something + ... |
