def assertCommandMatchesExactlyOneFormatString(self, format_strings, command):
        """
        Assert that the provided command matches exactly one format string from the provided list.
        """
        matched_format_strings = []

        for format_string in format_strings:
            try:
                extract_parameters(format_str=format_string, param_stream=command)
            except ParseException:
                continue

            matched_format_strings.append(format_string)

        if len(matched_format_strings) == 0:
            msg = 'Command "%s" didn\'t match any of the provided format strings' % (
                command
            )
            raise AssertionError(msg)
        elif len(matched_format_strings) > 1:
            msg = 'Command "%s" matched multiple format strings: %s' % (
                command,
                ", ".join(matched_format_strings),
            )
            raise AssertionError(msg)

        Assert that the provided command matches exactly one format string from the provided list.
        
st2tests/st2tests/action_aliases.py