コード例 #1
0
ファイル: verify.py プロジェクト: marcoemorais/rally
 def list(self):
     """Print a result list of verifications."""
     fields = ['UUID', 'Deployment UUID', 'Set name', 'Tests', 'Failures',
               'Created at', 'Status']
     verifications = db.verification_list()
     if verifications:
         common_cliutils.print_list(verifications, fields, sortby_index=6)
     else:
         print(_("There are no results from verifier. To run a verifier, "
                 "use:\nrally verify start"))
コード例 #2
0
    def list(self):
        """Display all verifications table, started and finished."""

        fields = ["UUID", "Deployment UUID", "Set name", "Tests", "Failures",
                  "Created at", "Status"]
        verifications = db.verification_list()
        if verifications:
            common_cliutils.print_list(verifications, fields,
                                       sortby_index=fields.index("Created at"))
        else:
            print(_("There are no results from verifier. To run a verifier, "
                    "use:\nrally verify start"))
コード例 #3
0
ファイル: verify.py プロジェクト: danielmellado/rally
    def list(self):
        """Display all verifications table, started and finished."""

        fields = ['UUID', 'Deployment UUID', 'Set name', 'Tests', 'Failures',
                  'Created at', 'Status']
        verifications = db.verification_list()
        if verifications:
            common_cliutils.print_list(verifications, fields,
                                       sortby_index=fields.index('Created at'))
        else:
            print(_("There are no results from verifier. To run a verifier, "
                    "use:\nrally verify start"))