Commits

Reimar Bauer  committed d34c88e Draft

_test.settings: use for saveimage_download_path a temp dir

  • Participants
  • Parent commits cc8047d

Comments (0)

Files changed (1)

File Coconuts/_tests/settings.py

 import os
 import re
 import sys
+import tempfile
+
 from Coconuts.conftest import coconutsdir
 
 from Coconuts.config import DefaultConfig
     # regex for extracting images from example HelpOnImages.html
     img_regex = re.compile(ur'src="(?P<value>\S*)"', re.MULTILINE | re.UNICODE)
 
+    # define a dummy download path
+    saveimage_download_path = tempfile.mkdtemp()