def test_set_defaults(self):
        conf = cfg.ConfigOpts()

        options.set_defaults(conf,
                             connection='sqlite:///:memory:')

        self.assertTrue(len(conf.database.items()) <= 1)
        self.assertEqual('sqlite:///:memory:', conf.database.connection)
dataset/ETHPy150Open openstack/oslo.db/oslo_db/tests/sqlalchemy/test_options.py/DbApiOptionsTestCase.test_set_defaults/operator `>` -> `<=`