Mercurial > piecrust2
annotate pytest.ini @ 182:a54d3c0b5f4a
tests: Patch `os.path.exists` and improve patching for `open`.
You can specify additional modules for which to patch `open`.
Also, it was incorrectly updating the opened file, even when it was opened
for read only. Now it only updates the contents if the file was opened for
write, and supports appending to the end.
Last, it supports opening text files in binary mode.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sun, 04 Jan 2015 14:55:41 -0800 |
parents | 5effaf1978d0 |
children | 81a30a63c431 |
rev | line source |
---|---|
3
f485ba500df3
Gigantic change to basically make PieCrust 2 vaguely functional.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
1 [pytest] |
106
5effaf1978d0
Don't look for tests inside the `build` directory.
Ludovic Chabant <ludovic@chabant.com>
parents:
3
diff
changeset
|
2 norecursedirs = .* _darcs CVS .svn .git .hg *.egg-info dist build node_modules venv tmp* {args} |
3
f485ba500df3
Gigantic change to basically make PieCrust 2 vaguely functional.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
3 |