1 # Copyright 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 """This module provides the global variable options_for_unittests.
7 This is set to a BrowserOptions object by the test harness, or None
8 if unit tests are not running.
10 This allows multiple unit tests to use a specific
11 browser, in face of multiple options."""
18 _options.append(options)
28 return _options[-1].Copy()