'@case: mem004-03
@description: Search Members - Advanced Search by Organisation'

def test_mem004_03_member_search_advance_by_Organisation(self):

    self.start()
    self.advancedSearchTest(['Timor-Leste    Red    Cross    Society    (Cruz    Vermelha    de    Timor-Leste)'])
    member = current.s3db['member_membership']
    org = current.s3db['org_organisation']
    dbRowCount = current.db((((member.deleted != True) & (member.organisation_id == org.id)) & (org.name == 'Timor-Leste    Red    Cross    Society    (Cruz    Vermelha    de    Timor-Leste)'))).count()
    self.compareRowCount(dbRowCount)
