зеркало из https://github.com/openwpm/OpenWPM.git
Flake8
This commit is contained in:
Родитель
48b4ef6feb
Коммит
a67dfe6bde
|
@ -31,14 +31,13 @@ GETS_AND_SETS = {
|
|||
|
||||
METHOD_CALLS = set() # Note 2
|
||||
|
||||
TEST_PAGE = ("instrument_existing_window_property_"
|
||||
"with_partially_existing_attributes.html")
|
||||
TEST_PAGE = "instrument_existing_window_property.html"
|
||||
TOP_URL = (
|
||||
u"%s/js_instrument/%s" % (util.BASE_TEST_URL, TEST_PAGE)
|
||||
)
|
||||
|
||||
|
||||
class TestJSInstrumentExistingWindowPropertyWithPartiallyExistingAttributes(OpenWPMTest):
|
||||
class TestJSInstrumentExistingWindowProperty(OpenWPMTest):
|
||||
|
||||
def get_config(self, data_dir=""):
|
||||
manager_params, browser_params = self.get_test_config(data_dir)
|
|
@ -12,7 +12,8 @@ GETS_AND_SETS = {
|
|||
("alreadyInstantiatedMockClassInstance", "get", "{}"),
|
||||
("alreadyInstantiatedMockClassInstance", "get", "{}"),
|
||||
("MockClass.nonExistingProp1", "get", "undefined"),
|
||||
("alreadyInstantiatedMockClassInstance.nonExistingProp1", "get", "undefined"),
|
||||
("alreadyInstantiatedMockClassInstance.nonExistingProp1",
|
||||
"get", "undefined"),
|
||||
("alreadyInstantiatedMockClassInstance", "get", "{}"),
|
||||
("MockClass.nonExistingProp1", "set", "blah1"),
|
||||
("alreadyInstantiatedMockClassInstance.nonExistingProp1", "set", "blah1"),
|
||||
|
@ -36,7 +37,8 @@ GETS_AND_SETS = {
|
|||
}
|
||||
|
||||
# Note 1: nonExistingMethod1 shows up as a get rather than call
|
||||
# Note 2: This may be a bug - this new instance should not have a value here yet
|
||||
# Note 2: This may be a bug - the new instance
|
||||
# should not have a value here yet
|
||||
|
||||
METHOD_CALLS = {
|
||||
("MockClass", "call", None),
|
||||
|
|
Загрузка…
Ссылка в новой задаче