Mercurial > piecrust2
diff tests/memfs.py @ 674:f987b29d6fab
tests: Add ability to run tests with a theme site.
* Remove automatic creating of `config.yml`.
* Add option to specify `theme_config` in YAML tests.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sun, 06 Mar 2016 23:48:01 -0800 |
parents | e7b865f8f335 |
children |
line wrap: on
line diff
--- a/tests/memfs.py Sun Mar 06 23:41:35 2016 -0800 +++ b/tests/memfs.py Sun Mar 06 23:48:01 2016 -0800 @@ -46,11 +46,9 @@ class MemoryFileSystem(TestFileSystemBase): - def __init__(self, default_spec=True): + def __init__(self): self._root = 'root_%d' % random.randrange(1000) self._fs = {self._root: {}} - if default_spec: - self._initDefaultSpec() def path(self, p): p = p.replace('\\', '/')