| # Copyright 2019 The ChromiumOS Authors |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| """Unittest for command_executer.py.""" |
| from cros_utils import command_executer |
| class CommandExecuterTest(unittest.TestCase): |
| """Test for CommandExecuter class.""" |
| logging_level = "average" |
| ce = command_executer.CommandExecuter(logging_level) |
| command, command_timeout=timeout, terminated_timeout=timeout |
| self.assertTrue(round(end - start) == timeout) |
| if __name__ == "__main__": |