[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] conga/luci/test cleaner.py congaDemoTests.py c ...



CVSROOT:	/cvs/cluster
Module name:	conga
Changes by:	ldimaggi sourceware org	2007-04-18 18:55:31

Modified files:
	luci/test      : cleaner.py congaDemoTests.py conga_Helpers.py 
	                 conga_suite.py 

Log message:
	Minor changes to stay in synch with GUI - look at line 116 in conga_Helpers.py

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/test/cleaner.py.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/test/congaDemoTests.py.diff?cvsroot=cluster&r1=1.11&r2=1.12
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/test/conga_Helpers.py.diff?cvsroot=cluster&r1=1.14&r2=1.15
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/test/conga_suite.py.diff?cvsroot=cluster&r1=1.11&r2=1.12

--- conga/luci/test/cleaner.py	2007/02/23 21:32:52	1.1
+++ conga/luci/test/cleaner.py	2007/04/18 17:55:31	1.2
@@ -32,15 +32,6 @@
         sel.wait_for_page_to_load(PAGE_DISPLAY_DELAY)
         sel.click("link=cluster")
         sel.wait_for_page_to_load(PAGE_DISPLAY_DELAY)
-        
-        #####################
-            
-            
-        junk = sel.get_text("cluster_action")
-        print junk
-        print sel.get_body_text()
-        print '============================='
-        
                 
         tempBool = sel.is_element_present("cluster_action")
         if (tempBool == True):
--- conga/luci/test/congaDemoTests.py	2007/02/23 21:32:52	1.11
+++ conga/luci/test/congaDemoTests.py	2007/04/18 17:55:31	1.12
@@ -38,8 +38,8 @@
 
     def setUp(self):
         
-        temp = cleaner()    
-        temp.cleanup()
+        #temp = cleaner()    
+        #temp.cleanup()
         
         # Set up logging      
         self.theloggerObject = setupLogger (CONGA_DEBUG_LOG)
@@ -113,7 +113,7 @@
 
 def suite():
         suite = unittest.TestSuite()
-#        suite.addTest(congaDemoTests('test_congaStorage'))
+        suite.addTest(congaDemoTests('test_congaStorage'))
         suite.addTest(congaDemoTests('test_congaUsers'))
         return suite
 
--- conga/luci/test/conga_Helpers.py	2007/02/23 21:32:52	1.14
+++ conga/luci/test/conga_Helpers.py	2007/04/18 17:55:31	1.15
@@ -36,8 +36,8 @@
 # Define data to support tests - global for now
 
 CONGA_ADMIN_USERNAME = 'admin'
-CONGA_ADMIN_PASSWORD = 'password'
-CONGA_SERVER = 'http://tng3-5.lab.msp.redhat.com:8080'
+CONGA_ADMIN_PASSWORD = 'foobar'
+CONGA_SERVER = 'http://dell-pe1650-2.test.redhat.com:8080'
 PAGE_DISPLAY_DELAY = '60000'
 CONGA_LOG = '/var/tmp/congaTest.log'
 CONGA_DEBUG_LOG = '/var/tmp/congaTest_debug.log'
@@ -46,20 +46,21 @@
 
 CONGA_STORAGE_SYSTEMS = { #'tng3-1.lab.msp.redhat.com':'password', 
                          #'tng3-2.lab.msp.redhat.com':'password',
-                         'tng3-3.lab.msp.redhat.com':'password',
-                         'tng3-4.lab.msp.redhat.com':'password',
-                         'tng3-5.lab.msp.redhat.com':'password'}
+                         'dell-pe1950-1.test.redhat.com':'foobar',
+                         'pogolinux-1.test.redhat.com':'foobar',
+                         'pogolinux-2.test.redhat.com':'foobar'}
 
 CONGA_SMALL_CLUSTER_SYSTEMS = {  #'tng3-1.lab.msp.redhat.com':'password', 
                          #'tng3-2.lab.msp.redhat.com':'password', 
-                         'tng3-3.lab.msp.redhat.com':'password',
-                         'tng3-4.lab.msp.redhat.com':'password' }
+                         'dell-pe1950-1.test.redhat.com':'foobar',
+                         'pogolinux-1.test.redhat.com':'foobar',
+                         'pogolinux-2.test.redhat.com':'foobar'}
 
 CONGA_LARGE_CLUSTER_SYSTEMS = {#'tng3-1.lab.msp.redhat.com':'password', 
                          #'tng3-2.lab.msp.redhat.com':'password', 
-                         'tng3-3.lab.msp.redhat.com':'password',
-                         'tng3-4.lab.msp.redhat.com':'password',
-                         'tng3-5.lab.msp.redhat.com':'password'}
+                         'dell-pe1950-1.test.redhat.com':'foobar',
+                         'pogolinux-1.test.redhat.com':'foobar',
+                         'pogolinux-2.test.redhat.com':'foobar'}
 
 CONGA_USERS =           {#'user1':'user1_password', 
                          #'user2':'user2_password', 
@@ -74,9 +75,9 @@
 
 CONGA_USERS_SYSTEMS =   {#'user1':'tng3-1.lab.msp.redhat.com', 
                          #'user2':'tng3-2.lab.msp.redhat.com', 
-                         'user3':'tng3-3.lab.msp.redhat.com', 
-                         'user4':'tng3-4.lab.msp.redhat.com', 
-                         'user5':'tng3-5.lab.msp.redhat.com'
+                         'user3':'dell-pe1950-1.test.redhat.com', 
+                         'user4':'pogolinux-1.test.redhat.com', 
+                         'user5':'pogolinux-2.test.redhat.com'
                          }
    
 # Data used to verify the on-line help contents. The Dictionary contains
@@ -88,12 +89,12 @@
              'Cluster Tab', 
              'Storage Tab']
         
-HELP_DICTIONARY = {'Conga User Manual':77,
-                   'Introduction':200,
-                   'Conga Architecture':225,
-                   'Homebase Tab':4257,
-                   'Cluster Tab':12280,
-                   'Storage Tab':23833 }
+HELP_DICTIONARY = {'Conga User Manual':81,
+                   'Introduction':204,
+                   'Conga Architecture':229,
+                   'Homebase Tab':4261,
+                   'Cluster Tab':12284,
+                   'Storage Tab':23837 }
 
 def createStorageSystem(sel, systemName, systemPassword, theLogger):
     """Common code to create storage systems"""
@@ -111,6 +112,10 @@
         theLogger.debug('Delete storage system: ' + systemName)
         # Need to handle artifacts names - underscores in strings, not periods
         systemNameMod = systemName.replace('.', '_')
+        
+        # Added 20070418 - ldimaggi - to keep up with changes to GUI
+        systemNameMod = "X___" + systemNameMod
+        
         sel.click("name=__SYSTEM:" + systemNameMod)
         sel.click("document.adminform.Submit")
         sel.wait_for_page_to_load(PAGE_DISPLAY_DELAY)          
--- conga/luci/test/conga_suite.py	2007/02/20 21:46:44	1.11
+++ conga/luci/test/conga_suite.py	2007/04/18 17:55:31	1.12
@@ -68,9 +68,9 @@
 # Assemble the suite
 suite = unittest.TestSuite()
 suite.addTest(congaDemoSuite)
-suite.addTest(CGA_0160_Add_UserSuite)
-suite.addTest(CGA_0170_Online_Documentation_Portlet_Suite)
-suite.addTest(CGA_0200_Create_cluster_Suite)
+#suite.addTest(CGA_0160_Add_UserSuite)
+#suite.addTest(CGA_0170_Online_Documentation_Portlet_Suite)
+#suite.addTest(CGA_0200_Create_cluster_Suite)
 
 # Run the test suite
 unittest.TextTestRunner(verbosity=2).run(suite)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]