1# Copyright (c) 2013 The Chromium OS 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. 4 5from autotest_lib.client.common_lib import error 6from autotest_lib.client.common_lib import utils 7from autotest_lib.server import test 8 9class dummy_PassServer(test.test): 10 """Tests that server tests can pass.""" 11 version = 1 12 13 def run_once(self, force_ssp=False): 14 """There is no body for this test. 15 16 @param force_ssp: True to force the test to run using server-side 17 packaging. Test shall fail if not running inside a container. 18 Default is set to False. 19 """ 20 if force_ssp and not utils.is_in_container(): 21 raise error.TestFail('The test is not running inside container.') 22 return 23