view tests/cli/test_find.yaml @ 492:d90ccdf18156

tests: Fix processing tests on Windows. See the comment in `pipeline.py` for more info but basically I was passing already initialized processors to the worker pool, which means pickling the whole app. Pretty bad. Interesting that it only broke on Windows, though.
author Ludovic Chabant <ludovic@chabant.com>
date Thu, 23 Jul 2015 22:07:32 -0700
parents 879b6b5647a8
children 95b77239c3b7
line wrap: on
line source

---
args: find
out: ''
---
args: find
in:
    pages/foo.md: ''
out: |
    pages/foo.md
---
args: find
in:
    pages/foo.md: ''
    posts/2015-01-10_blah.md: ''
out: |
    pages/foo.md
    posts/2015-01-10_blah.md
---
args: find foo
in:
    pages/foo.md: ''
    pages/bar.md: ''
    pages/foo/child.md: ''
    pages/something.md: ''
out: |
    pages/foo.md
    pages/foo/child.md
---
args: find --exact *foo.md
in:
    pages/foo.md: ''
    pages/bar.md: ''
    pages/foo/child.md: ''
    pages/something.md: ''
out: |
    pages/foo.md