def setup_modules(self, ldb, s3, s4):
        ldb.add({"dn": "@MAP=samba3sam",
                 "@FROM": s4.basedn,
                 "@TO": "sambaDomainName=TESTS," + s3.basedn})

        ldb.add({"dn": "@MODULES",
                 "@LIST": "rootdse,paged_results,server_sort,asq,samldb,password_hash,operational,objectguid,rdn_name,samba3sam,samba3sid,show_deleted,partition"})

        ldb.add({"dn": "@PARTITION",
            "partition": ["%s" % (s4.basedn_casefold),
                          (s3.basedn_casefold) % "%s"],
            "replicateEntries": ["@ATTRIBUTES", "@INDEXLIST"],
            "modules": "*:"})
dataset/ETHPy150Open byt3bl33d3r/pth-toolkit/lib/python2.7/site-packages/samba/tests/samba3sam.py/MapBaseTestCase.setup_modules/swapped operands of `%`