'Test attempted instantiation of nonexistent dynamic table'

def testDynamicTableInstantiationFailure(self):

    with self.assertRaises(AttributeError):
        current.s3db.s3dt_nonexistent
    with self.assertRaises(AttributeError):
        current.s3db['s3dt_nonexistent']
    table = current.s3db.table('s3dt_nonexistent')
    self.assertEqual(table, None)
