Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(809)

Unified Diff: tools/telemetry/telemetry/page/page_unittest.py

Issue 1033493003: [Telemetry] Remove Page.TransferToPageSet method. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/telemetry/telemetry/page/page_set_unittest.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/page/page_unittest.py
diff --git a/tools/telemetry/telemetry/page/page_unittest.py b/tools/telemetry/telemetry/page/page_unittest.py
index bc6b834ec3d08b50786ec9ebeee34b01d37c35af..22e5a0aac4a15872783c729742e4456e0e649618 100644
--- a/tools/telemetry/telemetry/page/page_unittest.py
+++ b/tools/telemetry/telemetry/page/page_unittest.py
@@ -147,22 +147,6 @@ class TestPage(unittest.TestCase):
'name': 'Example'
}, named_dict)
- def testTransferToPageSet(self):
- page_set_a = page_set.PageSet()
- page_set_b = page_set.PageSet()
- page_foo = page.Page('http://foo.com', page_set_a)
- page_bar = page.Page('http://bar.com', page_set_a)
- page_baz = page.Page('http://baz.com', page_set_a)
-
- page_set_a.AddUserStory(page_foo)
- page_set_a.AddUserStory(page_bar)
- page_set_a.AddUserStory(page_baz)
-
- page_bar.TransferToPageSet(page_set_b)
- self.assertEqual([page_foo, page_baz], page_set_a.pages)
- self.assertEqual([page_bar], page_set_b.pages)
- self.assertIs(page_set_b, page_bar.page_set)
-
def testIsLocal(self):
p = page.Page('file://foo.html')
self.assertTrue(p.is_local)
« no previous file with comments | « tools/telemetry/telemetry/page/page_set_unittest.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698