Limit the nb of cpu for the tests

This commit is contained in:
Simon Conseil
2013-12-18 00:55:21 +01:00
parent 94593c6ad8
commit 0baf632a01

View File

@@ -117,7 +117,7 @@ def test_gallery(tmpdir):
default_conf = os.path.join(SAMPLE_DIR, 'sigal.conf.py')
settings = read_settings(default_conf)
settings['destination'] = str(tmpdir)
gal = Gallery(settings)
gal = Gallery(settings, ncpu=1)
gal.build()
out_html = os.path.join(settings['destination'], 'index.html')