def test_can_do_bitwise_not(self): p = Pypher() p.BNOT(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)