AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
Classes | |
class | GTestEnvVarTest |
Functions | |
def | AssertEq (expected, actual) |
def | SetEnvVar (env_var, value) |
def | GetFlag (flag) |
def | TestFlag (flag, test_val, default_val) |
Variables | |
string | IS_WINDOWS = 'nt' |
string | IS_LINUX = 'Linux' |
COMMAND = gtest_test_utils.GetTestExecutablePath('gtest_env_var_test_') | |
environ = os.environ.copy() | |
def gtest_env_var_test.AssertEq | ( | expected, | |
actual | |||
) |
def gtest_env_var_test.GetFlag | ( | flag | ) |
Runs gtest_env_var_test_ and returns its output.
def gtest_env_var_test.SetEnvVar | ( | env_var, | |
value | |||
) |
Sets the env variable to 'value'; unsets it when 'value' is None.
def gtest_env_var_test.TestFlag | ( | flag, | |
test_val, | |||
default_val | |||
) |
Verifies that the given flag is affected by the corresponding env var.
gtest_env_var_test.COMMAND = gtest_test_utils.GetTestExecutablePath('gtest_env_var_test_') |
gtest_env_var_test.environ = os.environ.copy() |
string gtest_env_var_test.IS_LINUX = 'Linux' |
string gtest_env_var_test.IS_WINDOWS = 'nt' |
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0