def METHOD_NAME(self, resource_group):
    self.create_bot(resource_group)
    self.cmd('az bot directline create -g {rg} -n {botname}', checks=[
        self.check('properties.properties.sites[0].siteName', 'Default Site'),
        self.check('properties.properties.sites[0].isEnabled', True)
    ])
    self.cmd('az bot directline show -g {rg} -n {botname}', checks=[
        self.check('properties.properties.sites[0].siteName', 'Default Site'),
        self.check('properties.properties.sites[0].isEnabled', True),
        self.check('properties.properties.sites[0].key', None)
    ])
    self.cmd('az bot directline show -g {rg} -n {botname} --with-secrets', checks=[
        self.check('properties.properties.sites[0].siteName', 'Default Site'),
        self.check('properties.properties.sites[0].isEnabled', True)
    ])
    self.cmd('az bot directline delete -g {rg} -n {botname}')
    self.cmd('az bot delete -g {rg} -n {botname}')