mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Update web-platform-tests to revision 7a6f5673ff5d146ca5c09c6a1b42b7706cfee328
This commit is contained in:
parent
e2fca1b228
commit
4787b28da3
261 changed files with 8195 additions and 4689 deletions
|
@ -1,6 +1,7 @@
|
|||
import pickle
|
||||
import platform
|
||||
import os
|
||||
import sys
|
||||
|
||||
import pytest
|
||||
|
||||
|
@ -11,6 +12,7 @@ from .serve import Config
|
|||
|
||||
@pytest.mark.skipif(platform.uname()[0] == "Windows",
|
||||
reason="Expected contents are platform-dependent")
|
||||
@pytest.mark.xfail(sys.version_info >= (3,), reason="serve only works on Py2")
|
||||
def test_make_hosts_file_nix():
|
||||
c = Config(browser_host="foo.bar", alternate_hosts={"alt": "foo2.bar"})
|
||||
hosts = serve.make_hosts_file(c, "192.168.42.42")
|
||||
|
@ -32,6 +34,7 @@ def test_make_hosts_file_nix():
|
|||
|
||||
@pytest.mark.skipif(platform.uname()[0] != "Windows",
|
||||
reason="Expected contents are platform-dependent")
|
||||
@pytest.mark.xfail(sys.version_info >= (3,), reason="serve only works on Py2")
|
||||
def test_make_hosts_file_windows():
|
||||
c = Config(browser_host="foo.bar", alternate_hosts={"alt": "foo2.bar"})
|
||||
hosts = serve.make_hosts_file(c, "192.168.42.42")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue