mailr13270 - /branches/gui_testing/test_suite/gui_tests/noe.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on June 28, 2011 - 22:16:
Author: bugman
Date: Tue Jun 28 22:16:23 2011
New Revision: 13270

URL: http://svn.gna.org/viewcvs/relax?rev=13270&view=rev
Log:
Updated the auto NOE analysis GUI test to check that the Grace and PyMOL 
files have been created.


Modified:
    branches/gui_testing/test_suite/gui_tests/noe.py

Modified: branches/gui_testing/test_suite/gui_tests/noe.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/test_suite/gui_tests/noe.py?rev=13270&r1=13269&r2=13270&view=diff
==============================================================================
--- branches/gui_testing/test_suite/gui_tests/noe.py (original)
+++ branches/gui_testing/test_suite/gui_tests/noe.py Tue Jun 28 22:16:23 2011
@@ -21,7 +21,7 @@
 
###############################################################################
 
 # Python module imports.
-from os import sep
+from os import F_OK, access, sep
 from shutil import rmtree
 from tempfile import mkdtemp
 from time import sleep
@@ -145,3 +145,7 @@
 
             # Increment the spin index.
             i += 1
+
+        # Check the created files.
+        self.assert_(access(ds.tmpdir+sep+'grace'+sep+'noe.arg', F_OK))
+        self.assert_(access(ds.tmpdir+sep+'grace'+sep+'noe.pml', F_OK))




Related Messages


Powered by MHonArc, Updated Tue Jun 28 22:20:02 2011