diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ab86843d..8b793379 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -568,7 +568,7 @@ jobs: - name: Basic Tests all jobs id: basictests run: | - $PYTHON -m unittest discover --start-directory ./ --pattern "*_test.py" --buffer + $PYTHON -m unittest discover --start-directory ./ --pattern "*_test.py" --buffer || if [ $? != 5 ]; then exit $?; fi # exit 5 is no tests $gam version extended export GAMVERSION=$($gam version simple) echo "GAM Version ${GAMVERSION}" diff --git a/src/gam/__init__.py b/src/gam/__init__.py index 9636bd11..89157145 100755 --- a/src/gam/__init__.py +++ b/src/gam/__init__.py @@ -12222,6 +12222,7 @@ def doCreateGCPServiceAccount(): systemErrorExit(API_ACCESS_DENIED_RC, str(e)) sa_info['client_id'] = token_info['issued_to'] sa_output = json.dumps(sa_info, ensure_ascii=False, sort_keys=True, indent=2) + print(f'Writing SignJWT service account data:\n\n{sa_output}') writeFile(GC.Values[GC.OAUTH2SERVICE_JSON], sa_output, continueOnError=False) # Audit command utilities diff --git a/src/gam/gdata/service.py b/src/gam/gdata/service.py index a2e9b728..7efe0bf6 100644 --- a/src/gam/gdata/service.py +++ b/src/gam/gdata/service.py @@ -1087,7 +1087,7 @@ class GDataService(atom.service.AtomService): location = (server_response.getheader('Location') or server_response.getheader('location')) if location is not None: - m = re.compile('[?&]gsessionid=(\w*)').search(location) + m = re.compile(r'[?&]gsessionid=(\w*)').search(location) if m is not None: self.__gsessionid = m.group(1) return GDataService.Get(self, location, extra_headers, redirects_remaining - 1, @@ -1335,7 +1335,7 @@ class GDataService(atom.service.AtomService): location = (server_response.getheader('Location') or server_response.getheader('location')) if location is not None: - m = re.compile('[?&]gsessionid=(\w*)').search(location) + m = re.compile(r'[?&]gsessionid=(\w*)').search(location) if m is not None: self.__gsessionid = m.group(1) return GDataService.PostOrPut(self, verb, data, location, @@ -1433,7 +1433,7 @@ class GDataService(atom.service.AtomService): location = (server_response.getheader('Location') or server_response.getheader('location')) if location is not None: - m = re.compile('[?&]gsessionid=(\w*)').search(location) + m = re.compile(r'[?&]gsessionid=(\w*)').search(location) if m is not None: self.__gsessionid = m.group(1) return GDataService.Delete(self, location, extra_headers,