From 8c840a5b2f2266cb93cabb7ed41870af2f2fe283 Mon Sep 17 00:00:00 2001 From: vsoch Date: Mon, 23 Oct 2023 13:14:21 -0600 Subject: [PATCH] debug versions Signed-off-by: vsoch --- .github/workflows/tests.yaml | 1 + clients/python/flux_restful_client/utils/misc.py | 5 +---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 7594b18..949ee77 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -36,6 +36,7 @@ jobs: - name: Run tests run: | + pip freeze # Tests for the API with auth disabled flux start pytest -xs tests/test_api.py diff --git a/clients/python/flux_restful_client/utils/misc.py b/clients/python/flux_restful_client/utils/misc.py index b2a929c..1f16823 100644 --- a/clients/python/flux_restful_client/utils/misc.py +++ b/clients/python/flux_restful_client/utils/misc.py @@ -1,6 +1,3 @@ -import os -from subprocess import PIPE, STDOUT, Popen - def flatten_list(obj): """ Flatten a dict to a list of comma separated strings @@ -11,4 +8,4 @@ def flatten_list(obj): result += f"{key}={value}" else: result = f"{result},{key}={value}" - return result \ No newline at end of file + return result