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

Unified Diff: tools/telemetry/telemetry/internal/util/file_handle_unittest.py

Issue 1647513002: Delete tools/telemetry. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
Index: tools/telemetry/telemetry/internal/util/file_handle_unittest.py
diff --git a/tools/telemetry/telemetry/internal/util/file_handle_unittest.py b/tools/telemetry/telemetry/internal/util/file_handle_unittest.py
deleted file mode 100644
index 28c426549b34b84de90c91ea98b44a372b781fd8..0000000000000000000000000000000000000000
--- a/tools/telemetry/telemetry/internal/util/file_handle_unittest.py
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright 2014 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-import os
-import tempfile
-import unittest
-
-from telemetry.internal.util import file_handle
-
-
-class FileHandleUnittest(unittest.TestCase):
-
- def setUp(self):
- self.temp_file_txt = tempfile.NamedTemporaryFile(
- suffix='.txt', delete=False)
- self.abs_path_html = tempfile.NamedTemporaryFile(
- suffix='.html', delete=False).name
-
- def tearDown(self):
- os.remove(self.abs_path_html)
-
- def testCreatingFileHandle(self):
- fh1 = file_handle.FromTempFile(self.temp_file_txt)
- self.assertEquals(fh1.extension, '.txt')
-
- fh2 = file_handle.FromFilePath(self.abs_path_html)
- self.assertEquals(fh2.extension, '.html')
- self.assertNotEquals(fh1.id, fh2.id)
« no previous file with comments | « tools/telemetry/telemetry/internal/util/file_handle.py ('k') | tools/telemetry/telemetry/internal/util/global_hooks.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698