Author: bugman Date: Mon Jun 4 08:41:07 2012 New Revision: 16616 URL: http://svn.gna.org/viewcvs/relax?rev=16616&view=rev Log: Fix for the GUI tests - the ds.tmpfile string is now being created by the base setUp() method. This is needed to stop files from being created within the relax directory tree. Modified: branches/uf_redesign/test_suite/gui_tests/base_classes.py Modified: branches/uf_redesign/test_suite/gui_tests/base_classes.py URL: http://svn.gna.org/viewcvs/relax/branches/uf_redesign/test_suite/gui_tests/base_classes.py?rev=16616&r1=16615&r2=16616&view=diff ============================================================================== --- branches/uf_redesign/test_suite/gui_tests/base_classes.py (original) +++ branches/uf_redesign/test_suite/gui_tests/base_classes.py Mon Jun 4 08:41:07 2012 @@ -28,7 +28,7 @@ from os import sep import Queue from shutil import rmtree -from tempfile import mkdtemp +from tempfile import mktemp, mkdtemp from unittest import TestCase import wx @@ -184,6 +184,9 @@ def setUp(self): """Set up for all the functional tests.""" + # Create a temporary file for the tests that need it. + ds.tmpfile = mktemp() + # Create a temporary directory for the results. ds.tmpdir = mkdtemp()