def test_if_not_exists_included_on_save(self):

        with mock.patch.object(self.session, 'execute') as m:
            tm = TestIfNotExistsModel(count=8)
            tm.if_not_exists().save()

        query = m.call_args[0][0].query_string
        self.assertIn("IF NOT EXISTS", query)
Visitor for AST Call nodes
dataset/ETHPy150Open datastax/python-driver/tests/integration/cqlengine/test_ifnotexists.py/IfNotExistsModelTest.test_if_not_exists_included_on_save--crossover with--dataset/ETHPy150Open openstack/bandit/bandit/core/node_visitor.py/BanditNodeVisitor.visit_Call