def test_options(self):
    finish = rdbms_conf.DATABASES['sqlitee'].OPTIONS.set_for_testing({'nonsensical': None})
    try:
      self.client.get(reverse('rdbms:api_tables', args=['sqlitee', self.database]))
    except __HOLE__, e:
      assert_true('nonsensical' in str(e), e)
    finish()
dataset/ETHPy150Open cloudera/hue/apps/rdbms/src/rdbms/tests.py/TestAPI.test_options