def METHOD_NAME(self, account_info, table_name):
    self.storage_cmd('storage table policy list -t {}', account_info,
                     table_name).assert_with_checks(NoneCheck())
    self.storage_cmd('storage table policy create -t {} -n test1 --permission a', account_info,
                     table_name)
    self.storage_cmd('storage table policy create -t {} -n test2 --start 2016-01-01T00:00Z',
                     account_info, table_name)
    self.storage_cmd('storage table policy create -t {} -n test3 --expiry 2018-01-01T00:00Z',
                     account_info, table_name)
    self.storage_cmd('storage table policy create -t {} -n test4 --permission raud --start '
                     '2016-01-01T00:00Z --expiry 2016-05-01T00:00Z', account_info, table_name)
    acl = self.storage_cmd('storage table policy list -t {}', account_info,
                           table_name).get_output_in_json().keys()
    self.assertSetEqual(set(acl), set(['test1', 'test2', 'test3', 'test4']))
    self.storage_cmd('storage table policy show -t {} -n test1', account_info,
                     table_name).assert_with_checks(JMESPathCheck('permission', 'a'))
    self.storage_cmd('storage table policy show -t {} -n test2', account_info,
                     table_name) \
        .assert_with_checks(JMESPathCheck('start', '2016-01-01T00:00:00+00:00'))
    self.storage_cmd('storage table policy show -t {} -n test3', account_info, table_name) \
        .assert_with_checks(JMESPathCheck('expiry', '2018-01-01T00:00:00+00:00'))
    self.storage_cmd('storage table policy show -t {} -n test4', account_info, table_name) \
        .assert_with_checks(JMESPathCheck('start', '2016-01-01T00:00:00+00:00'),
                            JMESPathCheck('expiry', '2016-05-01T00:00:00+00:00'),
                            JMESPathCheck('permission', 'raud'))
    self.storage_cmd('storage table policy update -t {} -n test1 --permission au', account_info,
                     table_name)
    self.storage_cmd('storage table policy show -t {} -n test1', account_info, table_name) \
        .assert_with_checks(JMESPathCheck('permission', 'au'))
    self.storage_cmd('storage table policy delete -t {} -n test1', account_info, table_name)
    acl = self.storage_cmd('storage table policy list -t {}', account_info,
                           table_name).get_output_in_json().keys()
    self.assertSetEqual(set(acl), set(['test2', 'test3', 'test4']))