import os
import subprocess
import unittest

class TestGcloud(unittest.TestCase):
    def test_version(self):
        result = subprocess.run([
                'gcloud',
                'version',
            ],
            stdout=subprocess.PIPE,
        )

        self.assertIn(b'Google Cloud SDK', result.stdout)

@@ -249,18 +249,143 @@
         
+    stderr=subprocess.PIPE,%0A        )%0A%0A        print(%22gloud version: %22, result)%0A%0A        self.assertEqual(0, result.returncode
 )
-%0A
 %0A       

print result of gcloud version to help debugging