diff options
| author | DasIch <dasdasich@gmail.com> | 2010-06-19 16:38:52 +0200 |
|---|---|---|
| committer | DasIch <dasdasich@gmail.com> | 2010-06-19 16:38:52 +0200 |
| commit | 0d055b80a97daaa29c49a2b0e507d60fa7a0e9a3 (patch) | |
| tree | e9de279e6e1a3d14f218eeac00886f2bbf1ddf2e /tests/test_application.py | |
| parent | fd90e518d403b10ba503f406050a1fe6c0f3986a (diff) | |
| download | sphinx-0d055b80a97daaa29c49a2b0e507d60fa7a0e9a3.tar.gz | |
Fix test to respect the new .truncate() behavior
Diffstat (limited to 'tests/test_application.py')
| -rw-r--r-- | tests/test_application.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_application.py b/tests/test_application.py index 3d287a57..d1154863 100644 --- a/tests/test_application.py +++ b/tests/test_application.py @@ -45,9 +45,11 @@ def test_output(): app = TestApp(status=status, warning=warnings) try: status.truncate(0) # __init__ writes to status + status.seek(0) app.info("Nothing here...") assert status.getvalue() == "Nothing here...\n" status.truncate(0) + status.seek(0) app.info("Nothing here...", True) assert status.getvalue() == "Nothing here..." |
