diff options
| author | Chris McDonough <chrism@plope.com> | 2010-10-25 10:29:31 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2010-10-25 10:29:31 -0400 |
| commit | 64372401084889a440c9d990a0febc221e3e4b5c (patch) | |
| tree | c8939a341505d19f19fa6918d264b4e1d95326f8 /repoze/bfg/tests/test_docs.py | |
| parent | c8e78c2037806f3e5dab57de635bf80865b7061d (diff) | |
| download | pyramid-64372401084889a440c9d990a0febc221e3e4b5c.tar.gz pyramid-64372401084889a440c9d990a0febc221e3e4b5c.tar.bz2 pyramid-64372401084889a440c9d990a0febc221e3e4b5c.zip | |
first pass at converting bfg to pyramid namespace
Diffstat (limited to 'repoze/bfg/tests/test_docs.py')
| -rw-r--r-- | repoze/bfg/tests/test_docs.py | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/repoze/bfg/tests/test_docs.py b/repoze/bfg/tests/test_docs.py deleted file mode 100644 index a00171842..000000000 --- a/repoze/bfg/tests/test_docs.py +++ /dev/null @@ -1,35 +0,0 @@ -import unittest - -if 0: - # no released version of manuel actually works with :lineno: - # settings yet - class ManuelDocsCase(unittest.TestCase): - def __new__(self, test): - return getattr(self, test)() - - @classmethod - def test_docs(cls): - import os - import pkg_resources - import manuel.testing - import manuel.codeblock - import manuel.capture - import manuel.ignore - m = manuel.ignore.Manuel() - m += manuel.codeblock.Manuel() - m += manuel.capture.Manuel() - docs = [] - - egg_path = pkg_resources.get_distribution('repoze.bfg').location - path = os.path.join(egg_path, 'docs') - for root, dirs, files in os.walk(path): - for ignore in ('.svn', '.build', '.hg', '.git', 'CVS'): - if ignore in dirs: - dirs.remove(ignore) - - for filename in files: - if filename.endswith('.rst'): - docs.append(os.path.join(root, filename)) - - print path - return manuel.testing.TestSuite(m, *docs) |
