def build_ip_maps(self):
        self.tempfiles = {}
        self.registry = Registry(config, self.conn)
        entries = [
            "acf847a7c6804f6e8e3346a93386a654-32.32.32.32|10.8.2.1|192.168.0.1|0",
            "4d8e8617c68a46f89ceaef5bba33b3c0-32.32.32.33|10.8.2.2|192.168.0.2|0",
            "46a30a0bd5a44e7899a87f08ad79e6ff-32.32.32.34|10.8.2.3|192.168.0.3|1"
        ]
        self.conn.zk.ensure_path(self.registry.zk_ip_map_path)
        for entry in entries:
            self.conn.zk.create((self.registry.zk_ip_map_path, entry) % "%s/%s")

        def return_ipset_temp(temp):
            temp.seek(0)
            self.tempfiles["ipset"] = temp.read()

        def return_iptables_temp(table, temp):
            temp.seek(0)
            self.tempfiles[table] = temp.read()

        IPtables._push_iptables_live = Mock(side_effect=return_iptables_temp)
        IPtables._push_ipset_live = Mock(side_effect=return_ipset_temp)
dataset/ETHPy150Open facebookarchive/neti/tests/test_neti.py/NetiIPtablesTests.build_ip_maps/swapped operands of `%`