From 7699a7b3e4c090cc81fd593b444d64699ecb7012 Mon Sep 17 00:00:00 2001 From: Jason Guiditta Date: Mon, 26 Aug 2024 10:56:07 -0400 Subject: [PATCH] Add support for testing 3.12 and fix test error. Signed-off-by: Jason Guiditta --- .github/workflows/test.yml | 2 +- tests/unit/test_koji_tag.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 42b5bad..26c7871 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python: ['3.8', '3.9', '3.10', '3.11'] + python: ['3.8', '3.9', '3.10', '3.11', '3.12'] steps: - uses: actions/checkout@v4 - name: Setup Python diff --git a/tests/unit/test_koji_tag.py b/tests/unit/test_koji_tag.py index e598c6a..eed176d 100644 --- a/tests/unit/test_koji_tag.py +++ b/tests/unit/test_koji_tag.py @@ -84,7 +84,7 @@ def test_passes_builds_extra_args(sample_tagged_builds): kt = build_tag('foo') kt.session.listTagged = MagicMock(return_value=sample_tagged_builds) assert kt.builds(inherit=True) == sample_tagged_builds - assert kt.session.listTagged.called_with(inherit=True) + kt.session.listTagged.assert_called() def test_caches_builds(sample_tagged_builds):