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

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

Issue 222873002: Remove pyauto tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: sync Created 6 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
===================================================================
--- chrome/test/functional/media/pyauto_media.py (revision 261231)
+++ chrome/test/functional/media/pyauto_media.py (working copy)
@@ -1,41 +0,0 @@
-# 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.
-
-"""PyAuto media test base. Handles PyAuto initialization and path setup.
-
-Required to ensure each media test can load the appropriate libraries. Each
-test must include this snippet:
-
- # This should be at the top
- import pyauto_media
-
- <test code>
-
- # This should be at the bottom.
- if __name__ == '__main__':
- pyauto_media.Main()
-"""
-
-import os
-import sys
-
-
-def _SetupPaths():
- """Add paths required for loading PyAuto and other utilities to sys.path."""
- media_dir = os.path.abspath(os.path.dirname(__file__))
- sys.path.append(media_dir)
- sys.path.append(os.path.normpath(os.path.join(media_dir, os.pardir)))
-
- # Add psutil library path.
- # TODO(dalecurtis): This should only be added for tests which use psutil.
- sys.path.append(os.path.normpath(os.path.join(
- media_dir, os.pardir, os.pardir, os.pardir, os.pardir,
- 'third_party', 'psutil')))
-
-
-_SetupPaths()
-
-
-import pyauto_functional
-Main = pyauto_functional.Main
« no previous file with comments | « chrome/test/functional/media/mixed_audio_latency_perf.py ('k') | chrome/test/functional/media/worker_thread.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698