Update web-platform-tests to revision 077bb422b7bb21491a414e334bc594d83ca9e55b

This commit is contained in:
WPT Sync Bot 2018-10-16 21:24:11 -04:00
parent aa9591137a
commit b2341e328d
248 changed files with 2930 additions and 1961 deletions

View file

@ -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 == ""