class_docstr: Tests the env variable or the command line flag for fail_fast.
docstr: Tests that the Googletest native env var over Bazel testbridge.
docstr_tok: ["Tests","that","the","Googletest","native","env","var","over","Bazel","testbridge","."]
code: def testGoogletestEnvVarOverridesBazelEnvVar(self):
      """Tests that the Googletest native env var over Bazel testbridge."""
  
      try:
          SetEnvVar(BAZEL_FAIL_FAST_ENV_VAR, "0")
          SetEnvVar(FAIL_FAST_ENV_VAR, "1")
          txt, _ = RunAndReturnOutput("HasSimpleTest")
          self.assertIn("1 FAILED TEST", txt)
          self.assertIn("[  SKIPPED ] 3 tests", txt)
      finally:
          SetEnvVar(FAIL_FAST_ENV_VAR, None)
          SetEnvVar(BAZEL_FAIL_FAST_ENV_VAR, None)
  
imports: import os
  from googletest.test import gtest_test_utils
label_desc: Use image node_id 6 for calling the GTestFailFastUnitTest obj's underlying member method code with example usage: obj.testGoogletestEnvVarOverridesBazelEnvVar() without return types