Mercurial > piecrust2
diff tests/tmpfs.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 | d6403c21bdea |
children | 72f17534d58e |
line wrap: on
line diff
--- a/tests/tmpfs.py Sun Mar 06 23:41:35 2016 -0800 +++ b/tests/tmpfs.py Sun Mar 06 23:48:01 2016 -0800 @@ -7,14 +7,12 @@ class TempDirFileSystem(TestFileSystemBase): - def __init__(self, default_spec=True): + def __init__(self): self._root = os.path.join( os.path.dirname(__file__), '__tmpfs__', '%d' % random.randrange(1000)) self._done = False - if default_spec: - self._initDefaultSpec() def path(self, p): p = p.lstrip('/\\')