You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ah...@apache.org on 2013/07/01 23:24:58 UTC
[14/50] [abbrv] git commit: updated refs/heads/vmsync to f737019
CLOUDSTACK-3023: added tags for all the test cases
Signed-off-by: Prasanna Santhanam <ts...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/56a001d1
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/56a001d1
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/56a001d1
Branch: refs/heads/vmsync
Commit: 56a001d1c49221397621759d784bd6000b38f5e4
Parents: f3e3048
Author: suresh sadhu <su...@citrix.com>
Authored: Thu Jun 27 12:45:06 2013 +0530
Committer: Prasanna Santhanam <ts...@apache.org>
Committed: Sat Jun 29 10:03:51 2013 +0530
----------------------------------------------------------------------
test/integration/component/test_ldap.py | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/56a001d1/test/integration/component/test_ldap.py
----------------------------------------------------------------------
diff --git a/test/integration/component/test_ldap.py b/test/integration/component/test_ldap.py
index 1b933db..fc3bd48 100644
--- a/test/integration/component/test_ldap.py
+++ b/test/integration/component/test_ldap.py
@@ -185,7 +185,7 @@ class TestLdap(cloudstackTestCase):
raise Exception("Warning: Exception during cleanup : %s" % e)
return
-
+ @attr(tags=["advanced", "basic"])
def test_01_configLDAP(self):
'''
This test is to verify ldapConfig API with valid values.(i.e query fileter as email)
@@ -215,7 +215,7 @@ class TestLdap(cloudstackTestCase):
self.debug("end test")
-
+ @attr(tags=["advanced", "basic"])
def test_02_configLDAP(self):
'''
This test is to verify ldapConfig API with valid values.(i.e query fileter as displayName)
@@ -236,7 +236,7 @@ class TestLdap(cloudstackTestCase):
self.debug("LDAP Configuration failed with exception")
self.debug("end test")
-
+ @attr(tags=["advanced", "basic"])
def test_03_configLDAP(self):
'''
@@ -250,7 +250,7 @@ class TestLdap(cloudstackTestCase):
self.ldapconfRes=self._testldapConfig(self.services["ldapCon_3"])
self.assertEquals(self.ldapconfRes,0,"LDAP configuration successful with invalid value.API failed")
self.debug("end test")
-
+ @attr(tags=["advanced", "basic"])
def test_04_configLDAP(self):
'''
This test is to verify ldapConfig API with invalid configuration values(by passing wrong query filter)
@@ -263,7 +263,7 @@ class TestLdap(cloudstackTestCase):
self.assertEquals(self.ldapconfRes,0,"API failed")
-
+ @attr(tags=["advanced", "basic"])
def test_05_configLDAP(self):
'''
@@ -281,6 +281,7 @@ class TestLdap(cloudstackTestCase):
self.assertNotEqual(loginRes,1,"login API failed")
self.debug("end test")
+ @attr(tags=["advanced", "basic"])
def test_06_removeLDAP(self):
'''
This test is to verify ldapRemove API functionality