From b528ea7cebd6c2454daf7d806465a0f7be7b319d Mon Sep 17 00:00:00 2001 From: Phellippe Lima Date: Wed, 26 Jun 2024 16:05:43 +0100 Subject: [PATCH] CP-2205 - Revert failure and run on PR --- .github/workflows/python.yaml | 6 +++++- .../test/test_account_groups_api.py | 3 +-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python.yaml b/.github/workflows/python.yaml index cfd2a6c2..1f19a282 100644 --- a/.github/workflows/python.yaml +++ b/.github/workflows/python.yaml @@ -1,6 +1,10 @@ name: Python CI -on: [push] +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] jobs: build: diff --git a/thousandeyes-sdk-administrative/test/test_account_groups_api.py b/thousandeyes-sdk-administrative/test/test_account_groups_api.py index 8da82705..d9abde67 100644 --- a/thousandeyes-sdk-administrative/test/test_account_groups_api.py +++ b/thousandeyes-sdk-administrative/test/test_account_groups_api.py @@ -34,8 +34,7 @@ class TestAccountGroupsApi(unittest.TestCase): request_body_json = """ { "accountGroupName" : "My testing account group", - "agents" : [ "105", "719" ], - "extra" : "extra" + "agents" : [ "105", "719" ] }""" request_loaded_json = json.loads(request_body_json)