2 次代碼提交 49845f44b6 ... 94ada8f65b

作者 SHA1 備註 提交日期
  Stefan Schmidt 94ada8f65b Added "# pragma: no cover" for parts of code not used during testing 6 年之前
  Stefan Schmidt 49845f44b6 Added "# pragma: no cover" for parts of code not used during testing 6 年之前
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      code/Core/Statistics.py

+ 2 - 2
code/Core/Statistics.py

@@ -655,7 +655,7 @@ class Statistics:
             else:
                 mss_value.sort()
                 return mss_value[0]
-        else:
+        else:  # pragma: no cover
             return None
 
     def get_most_used_ttl(self, ip_address: str):
@@ -675,7 +675,7 @@ class Statistics:
             else:
                 ttl_value.sort()
                 return ttl_value[0]
-        else:
+        else:  # pragma: no cover
             return None
 
     def get_avg_delay_local_ext(self):