X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Ftools%2Ftelemetry%2Ftelemetry%2Fpage%2Fpage_filter_unittest.py;h=be3ec562ae16817a155c67b70ef035953d3dd640;hb=004985e17e624662a4c85c76a7654039dc83f028;hp=70e741011b47bcf8424b33bb9ad8e443ff524402;hpb=2f108dbacb161091e42a3479f4e171339b7e7623;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/tools/telemetry/telemetry/page/page_filter_unittest.py b/src/tools/telemetry/telemetry/page/page_filter_unittest.py index 70e7410..be3ec56 100644 --- a/src/tools/telemetry/telemetry/page/page_filter_unittest.py +++ b/src/tools/telemetry/telemetry/page/page_filter_unittest.py @@ -28,12 +28,14 @@ class MockLabelFilterOptions(object): class PageFilterTest(unittest.TestCase): def setUp(self): ps = page_set.PageSet() - self.p1 = page.Page('file://conformance/textures/tex-sub-image-2d.html', ps) - self.p1.name = 'WebglConformance.conformance_textures_tex_sub_image_2d' - self.p2 = page.Page('file://othersuite/textures/tex-sub-image-3d.html', ps) - self.p2.name = 'OtherSuite.textures_tex_sub_image_3d' - self.p3 = page.Page('file://othersuite/textures/tex-sub-image-3d.html', ps) - self.p3.name = None + self.p1 = page.Page( + 'file://conformance/textures/tex-sub-image-2d.html', page_set=ps, + name='WebglConformance.conformance_textures_tex_sub_image_2d') + self.p2 = page.Page( + 'file://othersuite/textures/tex-sub-image-3d.html', page_set=ps, + name='OtherSuite.textures_tex_sub_image_3d') + self.p3 = page.Page( + 'file://othersuite/textures/tex-sub-image-3d.html', page_set=ps) def testURLPattern(self): options = MockUrlFilterOptions('conformance/textures', '')