瀏覽代碼

Merge ab26574529 into 49d267a721

undefined
susmitha 3 週之前
committed by GitHub
父節點
當前提交
43f9fcad8d
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: B5690EEEBB952194
共有 2 個檔案被更改,包括 2 行新增0 行删除
  1. +1
    -0
      scripts/tests/test_validate_format.py
  2. +1
    -0
      scripts/tests/test_validate_links.py

+ 1
- 0
scripts/tests/test_validate_format.py 查看文件

@@ -23,6 +23,7 @@ class TestValidadeFormat(unittest.TestCase):
line_num_thousand = 1000 line_num_thousand = 1000


msg = 'This is a unit test' msg = 'This is a unit test'
msg2 ="this is unew message"


err_msg_unity = error_message(line_num_unity, msg) err_msg_unity = error_message(line_num_unity, msg)
err_msg_ten = error_message(line_num_ten, msg) err_msg_ten = error_message(line_num_ten, msg)


+ 1
- 0
scripts/tests/test_validate_links.py 查看文件

@@ -24,6 +24,7 @@ class TestValidateLinks(unittest.TestCase):
'https://www.example.com', 'https://www.example.com',
'https://www.example.com', 'https://www.example.com',
'https://www.anotherexample.com', 'https://www.anotherexample.com',
# added a comment
] ]
self.no_duplicate_links = [ self.no_duplicate_links = [
'https://www.firstexample.com', 'https://www.firstexample.com',


Loading…
取消
儲存