1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
6 from telemetry
.page
import page_set
9 class PageSetsUnittest(unittest
.TestCase
):
10 """Verfies that all the pagesets in this directory are syntactically valid."""
13 def testPageSetsParseCorrectly():
14 filenames
= page_sets
.GetAllPageSetFilenames()
15 for filename
in filenames
:
17 page_set
.PageSet
.FromFile(filename
)
19 raise Exception("Pageset %s: %s" % (filename
, str(ex
)))