def test_with_bool_false(self):
        d = self.app.resolve('#/definitions/add_prop_false')
        m = self.app.prim_factory.produce(
            d,
            dict(
                name='test_bool',
                category1=1,
                category2='test_qoo'
            )
        )

        self.assertTrue(isinstance(m, primitives.Model))
        self.assertEqual(m.name, 'test_bool')
        self.assertTrue('category1' not in m)
        self.assertTrue('category2' not in m)
dataset/ETHPy150Open mission-liao/pyswagger/pyswagger/tests/v2_0/test_prim.py/AdditionalPropertiesTestCase.test_with_bool_false/original