OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import os | 5 import os |
6 | 6 |
7 from telemetry.core import discover | |
8 from telemetry.page import page_set as page_set_module | |
9 from telemetry.page import page_set_archive_info | |
10 from telemetry.unittest import page_set_smoke_test | 7 from telemetry.unittest import page_set_smoke_test |
11 | 8 |
12 | 9 |
13 class PageSetUnitTest(page_set_smoke_test.PageSetSmokeTest): | 10 class PageSetUnitTest(page_set_smoke_test.PageSetSmokeTest): |
14 | 11 |
15 def testSmoke(self): | 12 def testSmoke(self): |
16 self.RunSmokeTest(os.path.dirname(__file__)) | 13 page_sets_dir = os.path.dirname(os.path.realpath(__file__)) |
| 14 top_level_dir = os.path.dirname(page_sets_dir) |
| 15 self.RunSmokeTest(page_sets_dir, top_level_dir) |
OLD | NEW |