Ejemplo n.º 1
0
    def test_can_do_bitwise_or(self):
        p = Pypher()
        p.BOR(12, 4)
        x = str(p)
        params = p.bound_params
        expected = 'apoc.bitwise.op(${}, "|", ${})'.format(
            get_dict_key(params, 12), get_dict_key(params, 4))

        self.assertEqual(x, expected)