From: ldimaggi@sourceware.org <ldimaggi@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] conga/luci/test cleaner.py congaDemoTests.py c ...
Date: 18 Apr 2007 17:55:33 -0000 [thread overview]
Message-ID: <20070418175533.1899.qmail@sourceware.org> (raw)
CVSROOT: /cvs/cluster
Module name: conga
Changes by: ldimaggi at 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)
reply other threads:[~2007-04-18 17:55 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070418175533.1899.qmail@sourceware.org \
--to=ldimaggi@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.