コード例 #1
0
 def addSkip(self, test: TestCase, reason: str) -> None:
     TestResult.addSkip(self, test, reason)
     self.stream.writeln(
         "** Skipping {}: {}".
         format(  # type: ignore[attr-defined] # https://github.com/python/typeshed/issues/3139
             test.id(), reason))
     self.stream.flush()
コード例 #2
0
ファイル: test_runner.py プロジェクト: xaoei/zulip
 def addSkip(self, test: TestCase, reason: str) -> None:
     TestResult.addSkip(self, test, reason)
     self.stream.writeln(
         "** Skipping {}: {}".
         format(  # type: ignore # https://github.com/python/typeshed/issues/3139
             full_test_name(test), reason))
     self.stream.flush(
     )  # type: ignore # https://github.com/python/typeshed/issues/3139
コード例 #3
0
ファイル: result.py プロジェクト: Ozahata/pddoctest
 def addSkip(self, test, reason):
     self.result["skip_count"] += 1
     self.result["class_list"][self.class_name]["skip_count"] += 1
     self.result["class_list"][self.class_name]["methods"][self.method_name]\
         ["status"] = SKIP
     TestResult.addSkip(self, test, reason)
     self.result["class_list"][self.class_name]["methods"][self.method_name]\
         ["message"] = self.silence_output()
     self.result["class_list"][self.class_name]["methods"][self.method_name]\
         ["error"] = reason
コード例 #4
0
 def addSkip(self, test: TestCase, reason):
     TestResult.addSkip(self, test, reason)
     self.stream.write("SKIPPED")
     self.stream.write(" ... reason: " + str(reason))
     self.stream.writeln()
     execution_time = self.__get_test_execution_time()
     self.__skipped_test.append(
         TestResultInfo(test=test,
                        execution_time=execution_time,
                        status_id=TestStatus.SKIP,
                        error_msg=reason))
コード例 #5
0
 def addSkip(self, test, reason):
     # type: (TestCase, Text) -> None
     TestResult.addSkip(self, test, reason)
     self.stream.writeln("** Skipping {}: {}".format(
         full_test_name(test), reason))
     self.stream.flush()
コード例 #6
0
 def addSkip(self, test: TestCase, reason: str) -> None:
     TestResult.addSkip(self, test, reason)
     self.stream.writeln("** Skipping {}: {}".format(
         full_test_name(test), reason))
     self.stream.flush()
コード例 #7
0
ファイル: test_runner.py プロジェクト: kagonlineteam/zulip
 def addSkip(self, test: TestCase, reason: str) -> None:
     TestResult.addSkip(self, test, reason)
     self.stream.write(f"** Skipping {test.id()}: {reason}\n")
     self.stream.flush()
コード例 #8
0
ファイル: test_runner.py プロジェクト: joydeep1701/zulip
 def addSkip(self, test: TestCase, reason: Text) -> None:
     TestResult.addSkip(self, test, reason)
     self.stream.writeln("** Skipping {}: {}".format(full_test_name(test),
                                                     reason))
     self.stream.flush()