':type args: any'

def __init__(self, args):

    super(SanityConfig, self).__init__(args, 'sanity')
    self.test = args.test
    self.skip_test = args.skip_test
    self.list_tests = args.list_tests
    if args.base_branch:
        self.base_branch = args.base_branch
    elif is_shippable():
        self.base_branch = os.environ.get('BASE_BRANCH', '')
        if self.base_branch:
            self.base_branch = ('origin/%s' % self.base_branch)
    else:
        self.base_branch = ''
