Added a setting for the temporary bluesheets directory used during testing.

- Legacy-Id: 8648
This commit is contained in:
Henrik Levkowetz 2014-11-12 01:49:55 +00:00
parent 9a8731e077
commit 8675c1e5ad
2 changed files with 3 additions and 1 deletions

View file

@ -16,7 +16,7 @@ import shutil
class MainTestCase(TestCase):
def setUp(self):
self.bluesheet_dir = os.path.abspath("tmp-bluesheet-dir")
self.bluesheet_dir = os.path.abspath(settings.TEST_BLUESHEET_DIR)
self.bluesheet_path = os.path.join(self.bluesheet_dir,'blue_sheet.rtf')
os.mkdir(self.bluesheet_dir)
settings.SECR_BLUE_SHEET_PATH = self.bluesheet_path

View file

@ -266,6 +266,8 @@ TEST_GHOSTDRIVER_LOG_PATH = "ghostdriver.log"
TEST_MATERIALS_DIR = "tmp-meeting-materials-dir"
TEST_BLUESHEET_DIR = "tmp-bluesheet-dir"
# WG Chair configuration
MAX_WG_DELEGATES = 3