From 190483d2f6db858e56e9eefa99525908a8d46d14 Mon Sep 17 00:00:00 2001 From: "Martin A. Brown" Date: Thu, 10 Mar 2016 10:42:33 -0800 Subject: [PATCH] adjust to slightly different output formattincg --- tests/test_sources.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/test_sources.py b/tests/test_sources.py index a228170..a62177a 100644 --- a/tests/test_sources.py +++ b/tests/test_sources.py @@ -21,8 +21,6 @@ from tldp.sources import arg_issourcedoc sampledocs = os.path.join(os.path.dirname(__file__), 'sample-documents') -widths = Namespace(status=20, stem=50) - class TestFileSourceCollectionMultiDir(TestToolsFilesystem): @@ -169,6 +167,7 @@ class TestSourceDocument(TestToolsFilesystem): ex = example.ex_linuxdoc_dir s = SourceDocument(ex.filename) fout = StringIO() + widths = Namespace(status=20, doctype=20, stem=50) s.detail(widths, False, file=fout) fout.seek(0) result = fout.read()