st2tests/st2tests/base.py
def assertCommonSt2EnvVarsAvailableInEnv(self, env):
        """
        Method which asserts that the common ST2 environment variables are present in the provided
        environment.
        """
        for var_name in COMMON_ACTION_ENV_VARIABLES:
            self.assertTrue(var_name in env)

        self.assertEqual(env['ST2_ACTION_API_URL'], get_full_public_api_url())
        self.assertTrue(env[AUTH_TOKEN_ENV_VARIABLE_NAME] is not None)

        Method which asserts that the common ST2 environment variables are present in the provided
        environment.
        
Method which asserts that the common ST2 environment variables are present in the provided
environment.
Method which asserts that the common ST2 environment variables are present in the provided environment .
def assertCommonSt2EnvVarsAvailableInEnv(self, env):
        for var_name in COMMON_ACTION_ENV_VARIABLES:
            self.assertTrue(var_name in env)
        self.assertEqual(env['ST2_ACTION_API_URL'], get_full_public_api_url())
        self.assertTrue(env[AUTH_TOKEN_ENV_VARIABLE_NAME] is not None)
def assertCommonSt2EnvVarsAvailableInEnv ( self , env ) : for var_name in COMMON_ACTION_ENV_VARIABLES : self . assertTrue ( var_name in env ) self . assertEqual ( env [ 'ST2_ACTION_API_URL' ] , get_full_public_api_url ( ) ) self . assertTrue ( env [ AUTH_TOKEN_ENV_VARIABLE_NAME ] is not None )
Method which asserts that the common ST2 environment variables are present in the provided
environment.
Method which asserts that the common ST2 environment variables are present in the provided environment .
"""
        Method which asserts that the common ST2 environment variables are present in the provided
        environment.
        """
self
env