Mercurial > piecrust2
diff tests/test_processing_tree.py @ 974:72f17534d58e
tests: First pass on making unit tests work again.
- Fix all imports
- Add more helper functions to work with mock file-systems
- Simplify some code by running chef directly on the mock FS
- Fix a couple tests
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Tue, 17 Oct 2017 01:07:30 -0700 |
parents | f485ba500df3 |
children |
line wrap: on
line diff
--- a/tests/test_processing_tree.py Tue Oct 17 01:04:10 2017 -0700 +++ b/tests/test_processing_tree.py Tue Oct 17 01:07:30 2017 -0700 @@ -1,5 +1,7 @@ -from piecrust.processing.base import CopyFileProcessor, SimpleFileProcessor -from piecrust.processing.tree import ProcessingTreeBuilder, ProcessingTreeNode +from piecrust.processing.base import SimpleFileProcessor +from piecrust.processing.copy import CopyFileProcessor +from piecrust.pipelines._proctree import ( + ProcessingTreeBuilder, ProcessingTreeNode) class MockProcessor(SimpleFileProcessor):