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

Unified Diff: chrome/test/functional/media/pyauto_media.py

Issue 9666032: Cleanup deprecated PyAuto media tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update year. Created 8 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
Index: chrome/test/functional/media/pyauto_media.py
diff --git a/chrome/test/functional/media/pyauto_media.py b/chrome/test/functional/media/pyauto_media.py
index 2a2853766c7100500d18eebd009f77341de54f79..952330b20a147eece788a4e078e081449c5fc252 100755
--- a/chrome/test/functional/media/pyauto_media.py
+++ b/chrome/test/functional/media/pyauto_media.py
@@ -1,4 +1,4 @@
-# Copyright (c) 2011 The Chromium Authors. All rights reserved.
+# Copyright (c) 2012 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.
@@ -19,9 +19,6 @@ test must include this snippet:
import os
import sys
-import tempfile
-
-from media_test_env_names import MediaTestEnvNames
def _SetupPaths():
@@ -36,18 +33,6 @@ def _SetupPaths():
media_dir, os.pardir, os.pardir, os.pardir, os.pardir,
'third_party', 'psutil')))
- # Setting PYTHONPATH for reference build.
- # TODO(dalecurtis): Don't use env variables, each test can process a command
- # line before passing off control to PyAuto.
- if os.getenv(MediaTestEnvNames.REFERENCE_BUILD_ENV_NAME):
- reference_build_dir = os.getenv(
- MediaTestEnvNames.REFERENCE_BUILD_DIR_ENV_NAME,
- # TODO(imasaki): Change the following default value.
- # Default directory is just for testing so the correct directory
- # must be set in the build script.
- os.path.join(tempfile.gettempdir(), 'chrome-media-test'))
- sys.path.insert(0, reference_build_dir)
-
_SetupPaths()
« no previous file with comments | « chrome/test/functional/media/media_track.py ('k') | chrome/test/functional/media/ui_perf_test_measure_thread.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698