'@case: mem004-06
@description: Search Members - Advanced Search by County / District'

def test_mem004_06_member_search_advance_by_County_District(self):

    self.start()
    self.advancedSearchTest(['Laga'])
    member = current.s3db['member_membership']
    loc = current.s3db['gis_location']
    dbRowCount = current.db((((member.deleted != 'T') & (member.location_id == loc.id)) & (loc.L2 == 'Laga'))).count()
    self.compareRowCount(dbRowCount)
