Skip to content

Commit

Permalink
Add support for testing 3.12 and fix test error.
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Guiditta <jguiditt@redhat.com>
  • Loading branch information
jguiditta authored and jpichon committed Aug 27, 2024
1 parent e771b42 commit c9bd077
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test_koji_tag.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit c9bd077

Please sign in to comment.