summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRoman Rakus <rrakus@redhat.com>2013-07-11 14:25:48 +0200
committerRoman Rakus <rrakus@redhat.com>2013-07-16 13:30:47 +0200
commit607c7feaa11f124b835860a36f9a6f40871ac939 (patch)
tree7270aec78cfd8090a4ff7e6069c58d5d418591ea /src
parent9e0fc62c22799d2c116ef68f4f153b5e7aa990bd (diff)
downloadopenlmi-providers-607c7feaa11f124b835860a36f9a6f40871ac939.tar.gz
openlmi-providers-607c7feaa11f124b835860a36f9a6f40871ac939.tar.xz
openlmi-providers-607c7feaa11f124b835860a36f9a6f40871ac939.zip
Account: Use Account prefix in test logs
It makes test output more readable Signed-off-by: Roman Rakus <rrakus@redhat.com>
Diffstat (limited to 'src')
-rw-r--r--src/account/test/TestAccount.py8
-rw-r--r--src/account/test/TestGroup.py6
-rw-r--r--src/account/test/TestMemberOfGroup.py6
-rw-r--r--src/account/test/TestService.py4
4 files changed, 12 insertions, 12 deletions
diff --git a/src/account/test/TestAccount.py b/src/account/test/TestAccount.py
index 57925f0..e6f0c14 100644
--- a/src/account/test/TestAccount.py
+++ b/src/account/test/TestAccount.py
@@ -28,7 +28,7 @@ class TestAccount(AccountBase):
"""
def test_account_properties(self):
"""
- Test if there are key and main properties in LMI_Account
+ Account: Test if there are key and main properties in LMI_Account
"""
slct = "select * from LMI_Account"
instances = self.wbemconnection.ExecQuery('WQL', slct)
@@ -44,7 +44,7 @@ class TestAccount(AccountBase):
def test_create_account(self):
"""
- Test to create user account
+ Account: Test to create user account
"""
# make sure the account will not exist
clean_account(self.user_name)
@@ -61,7 +61,7 @@ class TestAccount(AccountBase):
def test_delete_account(self):
"""
- Test to delete account
+ Account: Test to delete account
"""
# make sure the account will exist
create_account(self.user_name)
@@ -76,7 +76,7 @@ class TestAccount(AccountBase):
def test_modify_account(self):
"""
- Test several modifications
+ Account: Test several modifications
"""
create_account(self.user_name)
i = self.wbemconnection.ExecQuery('WQL',
diff --git a/src/account/test/TestGroup.py b/src/account/test/TestGroup.py
index 3111610..6c294eb 100644
--- a/src/account/test/TestGroup.py
+++ b/src/account/test/TestGroup.py
@@ -27,7 +27,7 @@ class TestGroup(AccountBase):
"""
def test_group_properties(self):
"""
- Test if there are key and main properties in LMI_Group
+ Account: Test if there are key and main properties in LMI_Group
"""
slct = "select * from LMI_Group"
instances = self.wbemconnection.ExecQuery('WQL', slct)
@@ -42,7 +42,7 @@ class TestGroup(AccountBase):
def test_create_group(self):
"""
- Test to create group
+ Account: Test to create group
"""
# make sure the group will not exist
clean_group(self.group_name)
@@ -59,7 +59,7 @@ class TestGroup(AccountBase):
def test_delete_group(self):
"""
- Test to delete group
+ Account: Test to delete group
"""
# make sure the group will exist
create_group(self.group_name)
diff --git a/src/account/test/TestMemberOfGroup.py b/src/account/test/TestMemberOfGroup.py
index 2186db3..635ac24 100644
--- a/src/account/test/TestMemberOfGroup.py
+++ b/src/account/test/TestMemberOfGroup.py
@@ -28,7 +28,7 @@ class TestMemberOfGroup(AccountBase):
"""
def test_add_user_to_group(self):
"""
- Test to add user to group
+ Account: Test to add user to group
"""
create_account(self.user_name)
create_group(self.group_name)
@@ -45,7 +45,7 @@ class TestMemberOfGroup(AccountBase):
def test_remove_user_from_group(self):
"""
- Test remove user from group
+ Account: Test remove user from group
"""
# make sure the account will exist
create_account(self.user_name)
@@ -60,7 +60,7 @@ class TestMemberOfGroup(AccountBase):
def test_user_in_groups(self):
"""
- Test correct list of groups for user
+ Account: Test correct list of groups for user
"""
create_account(self.user_name)
create_group(self.group_name)
diff --git a/src/account/test/TestService.py b/src/account/test/TestService.py
index 5b45b38..62cdf9d 100644
--- a/src/account/test/TestService.py
+++ b/src/account/test/TestService.py
@@ -29,7 +29,7 @@ class TestService(AccountBase):
def test_create_account(self):
"""
- Test create account parameters
+ Account: Test create account parameters
"""
# make sure the account will not exist
clean_account(self.user_name)
@@ -88,7 +88,7 @@ class TestService(AccountBase):
def test_create_group(self):
"""
- Test create group parameters
+ Account: Test create group parameters
"""
clean_group(self.group_name)
computer_system = self.wbemconnection.ExecQuery('WQL',