mirror of
https://github.com/servo/servo.git
synced 2025-08-14 18:05:36 +01:00
Update web-platform-tests to revision 077bb422b7bb21491a414e334bc594d83ca9e55b
This commit is contained in:
parent
aa9591137a
commit
b2341e328d
248 changed files with 2930 additions and 1961 deletions
|
@ -213,12 +213,11 @@ def test_ref_absolute_url(caplog):
|
|||
|
||||
|
||||
def test_about_blank_as_ref(caplog):
|
||||
with _mock_lint("check_path") as mocked_check_path:
|
||||
with _mock_lint("check_path"):
|
||||
with _mock_lint("check_file_contents") as mocked_check_file_contents:
|
||||
rv = lint(_dummy_repo, ["about_blank-ref.html"], "normal")
|
||||
rv = lint(_dummy_repo, ["about_blank.html"], "normal")
|
||||
assert rv == 0
|
||||
assert not mocked_check_path.called
|
||||
assert not mocked_check_file_contents.called
|
||||
assert mocked_check_file_contents.call_count == 1
|
||||
assert caplog.text == ""
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue