mirror of
https://github.com/servo/servo.git
synced 2025-09-04 20:18:21 +01:00
Update web-platform-tests to revision 66f38302334f162d363afcf4a1792d895072f3ef
This commit is contained in:
parent
36f5b69224
commit
b198cd722a
622 changed files with 3374 additions and 2001 deletions
|
@ -1,4 +1 @@
|
|||
from . import item
|
||||
from . import manifest
|
||||
from . import sourcefile
|
||||
from . import update
|
||||
from . import item, manifest, sourcefile, update # noqa: F401
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
import os
|
||||
from six.moves.urllib.parse import urljoin
|
||||
from abc import ABCMeta, abstractmethod, abstractproperty
|
||||
from abc import ABCMeta, abstractproperty
|
||||
|
||||
|
||||
def get_source_file(source_files, tests_root, manifest, path):
|
||||
|
|
|
@ -6,7 +6,7 @@ from six import iteritems, itervalues, viewkeys, string_types
|
|||
|
||||
from .item import ManualTest, WebdriverSpecTest, Stub, RefTestNode, RefTest, TestharnessTest, SupportFile, ConformanceCheckerTest, VisualTest
|
||||
from .log import get_logger
|
||||
from .utils import from_os_path, to_os_path, rel_path_to_url
|
||||
from .utils import from_os_path, to_os_path
|
||||
|
||||
|
||||
CURRENT_VERSION = 4
|
||||
|
|
|
@ -12,7 +12,7 @@ except ImportError:
|
|||
import html5lib
|
||||
|
||||
from . import XMLParser
|
||||
from .item import Stub, ManualTest, WebdriverSpecTest, RefTestNode, RefTest, TestharnessTest, SupportFile, ConformanceCheckerTest, VisualTest
|
||||
from .item import Stub, ManualTest, WebdriverSpecTest, RefTestNode, TestharnessTest, SupportFile, ConformanceCheckerTest, VisualTest
|
||||
from .utils import rel_path_to_url, ContextManagerBytesIO, cached_property
|
||||
|
||||
wd_pattern = "*.py"
|
||||
|
@ -262,6 +262,7 @@ class SourceFile(object):
|
|||
be a non-test file"""
|
||||
return (self.is_dir() or
|
||||
self.name_prefix("MANIFEST") or
|
||||
self.filename == "META.yml" or
|
||||
self.filename.startswith(".") or
|
||||
self.type_flag == "support" or
|
||||
self.in_non_test_dir())
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import platform
|
||||
import os
|
||||
|
||||
import mock
|
||||
|
@ -8,7 +7,7 @@ import hypothesis.strategies as hs
|
|||
|
||||
import pytest
|
||||
|
||||
from .. import manifest, item, sourcefile, utils
|
||||
from .. import manifest, item, utils
|
||||
|
||||
|
||||
def SourceFileWithTest(path, hash, cls, *args):
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
#!/usr/bin/env python
|
||||
import argparse
|
||||
import imp
|
||||
import os
|
||||
import sys
|
||||
|
||||
import manifest
|
||||
from . import vcs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue