#49719 Issue 49582-Add py3 support to memberof_plugin test suite
Closed 3 years ago by spichugi. Opened 5 years ago by aborah.
aborah/389-ds-base memberof_plugin  into  master

@@ -21,7 +21,7 @@ 

  from lib389.idm.user import UserAccount, UserAccounts, TEST_USER_PROPERTIES

  from lib389.idm.group import Groups, Group

  from lib389.topologies import topology_m2 as topo_m2

- from lib389.replica import Replicas

+ from lib389.replica import ReplicationManager

  

  # Skip on older versions

  pytestmark = pytest.mark.skipif(ds_is_older('1.3.7'), reason="Not implemented")
@@ -383,10 +383,8 @@ 

      assert not m1.ds_error_log.match(error_msg)

  

      log.info("Check that the replication is working fine both ways, M1 <-> M2")

-     replicas_m1 = Replicas(m1)

-     replicas_m2 = Replicas(m2)

-     replicas_m1.test(DEFAULT_SUFFIX, m2)

-     replicas_m2.test(DEFAULT_SUFFIX, m1)

+     repl = ReplicationManager(DEFAULT_SUFFIX)

+     repl.test_replication_topology(topo_m2)

  

  

  if __name__ == '__main__':

Description: Added python3 lib389 module for testing the Replication.

https://pagure.io/389-ds-base/issue/49582

Reviewed by: ???

rebased onto e6ef7a41a6db248b78abc961b73c0b6319c6d866

5 years ago

rebased onto 1b7e423cf1f2fd5a76ba27959b1eab9adeff2622

5 years ago

suites/memberof_plugin/regression_test.py passes for my on latest master, ack from me.

rebased onto 1d9a80f

5 years ago

Pull-Request has been merged by vashirov

5 years ago

389-ds-base is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in 389-ds-base's github repository.

This pull request has been cloned to Github as issue and is available here:
- https://github.com/389ds/389-ds-base/issues/2778

If you want to continue to work on the PR, please navigate to the github issue,
download the patch from the attachments and file a new pull request.

Thank you for understanding. We apologize for all inconvenience.

Pull-Request has been closed by spichugi

3 years ago
Metadata