summaryrefslogtreecommitdiffstats
path: root/ipatests/test_integration/test_simple_replication.py
diff options
context:
space:
mode:
authorPetr Viktorin <pviktori@redhat.com>2013-06-17 04:41:06 -0400
committerPetr Viktorin <pviktori@redhat.com>2013-07-15 15:49:13 +0200
commit19a0d51d89b640c04dc285067fc59b4a7fe9ca7f (patch)
tree11201c89fbcbc77f8210cf85da4e2c90677906d6 /ipatests/test_integration/test_simple_replication.py
parenta02890526ed099f7b37684295ca67d49b4c1737b (diff)
downloadfreeipa-19a0d51d89b640c04dc285067fc59b4a7fe9ca7f.tar.gz
freeipa-19a0d51d89b640c04dc285067fc59b4a7fe9ca7f.tar.xz
freeipa-19a0d51d89b640c04dc285067fc59b4a7fe9ca7f.zip
Use dosctrings in BeakerLib phase descriptions
Phase names are now in the format: test-module-TestClass-test_method: First line of docstring https://fedorahosted.org/freeipa/ticket/3723
Diffstat (limited to 'ipatests/test_integration/test_simple_replication.py')
-rw-r--r--ipatests/test_integration/test_simple_replication.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/ipatests/test_integration/test_simple_replication.py b/ipatests/test_integration/test_simple_replication.py
index a5d1bb208..8da59e5c5 100644
--- a/ipatests/test_integration/test_simple_replication.py
+++ b/ipatests/test_integration/test_simple_replication.py
@@ -23,10 +23,16 @@ from ipatests.test_integration.base import IntegrationTest
class TestSimpleReplication(IntegrationTest):
+ """Simple replication test
+
+ Install a server and a replica, then add an user on one host and ensure
+ it is also present on the other one.
+ """
num_replicas = 1
topology = 'star'
def test_user_replication_to_replica(self):
+ """Test user replication master -> replica"""
login = 'testuser1'
self.master.run_command(['ipa', 'user-add', login,
'--first', 'test',
@@ -39,6 +45,7 @@ class TestSimpleReplication(IntegrationTest):
assert 'User login: %s' % login in result.stdout_text
def test_user_replication_to_master(self):
+ """Test user replication replica -> master"""
login = 'testuser2'
self.replicas[0].run_command(['ipa', 'user-add', login,
'--first', 'test',