'@case: warehouse_01
@description: Search Warehouse - Simple Search'

def test_warehouse_01_search_name(self):

    w = current.s3db['inv_warehouse']
    key = 'na'
    dbRowCount = current.db(((w.deleted != 'T') & w.name.like((('%' + key) + '%')))).count()
    self.search(self.search.advanced_form, True, ({'id': 'warehouse_search_simple', 'value': key},), dbRowCount, manual_check=functools.partial(_kwsearch, keyword=key, items=dbRowCount, column=2))
