"""A wrapper for common operations on a device with Cast capabilities."""

import os

from telemetry.core import util

CAST_BROWSERS = [
    'platform_app'
]
SSH_PWD = "user"
SSH_USER = "user"
DEFAULT_CAST_CORE_DIR = os.path.join(util.GetCatapultDir(), '..', 'cast_core',
                                     'prebuilts')
DEFAULT_CWR_EXE = os.path.join(util.GetCatapultDir(), '..', 'cast_web_runtime')

"""A wrapper for common operations on a device with Cast capabilities."""

import os

from telemetry.core import util

CAST_BROWSERS = [
    'platform_app'
]
DEFAULT_CAST_CORE_DIR = os.path.join(util.GetCatapultDir(), '..', 'cast_core',
                                     'prebuilts')
DEFAULT_CWR_EXE = os.path.join(util.GetCatapultDir(), '..', 'cast_web_runtime')
SSH_PWD = "root"
SSH_USER = "root"

Change user and password used for Cast hardware devices
[cast3p] Change user and password used for Cast hardware devices

Change-Id: Id636d40afea79d08ce9af952438d5396add505e3
Reviewed-on: https://chromium-review.googlesource.com/c/catapult/+/3602946
Commit-Queue: Chong Gu <2b40eb872a3eb33d1a32a10811f471f8a41ba08b@google.com>
Auto-Submit: Chong Gu <2b40eb872a3eb33d1a32a10811f471f8a41ba08b@google.com>
Reviewed-by: Brian Sheedy <8cdc5cc1fa60ba15acb0d296e6f5592b7bb7d71c@chromium.org>
Commit-Queue: Brian Sheedy <8cdc5cc1fa60ba15acb0d296e6f5592b7bb7d71c@chromium.org>

  """A wrapper for common operations on a device with Cast capabilities."""
  
  import os
  
  from telemetry.core import util
  
  CAST_BROWSERS = [
      'platform_app'
  ]
- SSH_PWD = "user"
- SSH_USER = "user"
  DEFAULT_CAST_CORE_DIR = os.path.join(util.GetCatapultDir(), '..', 'cast_core',
                                       'prebuilts')
  DEFAULT_CWR_EXE = os.path.join(util.GetCatapultDir(), '..', 'cast_web_runtime')
+ SSH_PWD = "root"
+ SSH_USER = "root"
  
Change user and password used for Cast hardware devices
## Code Before:
"""A wrapper for common operations on a device with Cast capabilities."""

import os

from telemetry.core import util

CAST_BROWSERS = [
    'platform_app'
]
SSH_PWD = "user"
SSH_USER = "user"
DEFAULT_CAST_CORE_DIR = os.path.join(util.GetCatapultDir(), '..', 'cast_core',
                                     'prebuilts')
DEFAULT_CWR_EXE = os.path.join(util.GetCatapultDir(), '..', 'cast_web_runtime')

## Instruction:
Change user and password used for Cast hardware devices
## Code After:
"""A wrapper for common operations on a device with Cast capabilities."""

import os

from telemetry.core import util

CAST_BROWSERS = [
    'platform_app'
]
DEFAULT_CAST_CORE_DIR = os.path.join(util.GetCatapultDir(), '..', 'cast_core',
                                     'prebuilts')
DEFAULT_CWR_EXE = os.path.join(util.GetCatapultDir(), '..', 'cast_web_runtime')
SSH_PWD = "root"
SSH_USER = "root"
