def METHOD_NAME(self, resource_group):
    locations = ['global', 'westus', 'westeurope']
    for location in locations:
        self.create_bot(resource_group, location)
        self.cmd('az bot msteams create -g {rg} -n {botname} -l {location}', checks=[
            self.check('location', '{location}')
        ])
        self.cmd('az bot directline create -g {rg} -n {botname} -l {location}', checks=[
            self.check('location', '{location}')
        ])
        self.cmd('az bot delete -g {rg} -n {botname}')