diff --git a/.github/workflows/scripts/before_install.sh b/.github/workflows/scripts/before_install.sh index 82d3a8e..878db18 100755 --- a/.github/workflows/scripts/before_install.sh +++ b/.github/workflows/scripts/before_install.sh @@ -55,7 +55,7 @@ pulp_scheme: "https" image: name: "pulp" tag: "ci_build" - ci_base: "ghcr.io/pulp/pulp-ci-centos9:latest" + ci_base: "ghcr.io/pulp/pulp-ci-centos10:latest" source: "${COMPONENT_SOURCE}" ci_requirements: $(test -f ci_requirements.txt && echo -n true || echo -n false) upperbounds: $(test "${TEST}" = "pulp" && echo -n true || echo -n false) diff --git a/pulp_gem/tests/unit/test_serializers.py b/pulp_gem/tests/unit/test_serializers.py index ad19ba7..85d2245 100644 --- a/pulp_gem/tests/unit/test_serializers.py +++ b/pulp_gem/tests/unit/test_serializers.py @@ -53,8 +53,8 @@ def test_valid_data(self, ANALYZE_GEM, _ARTIFACT_FROM_DATA): serializer = GemContentSerializer(data=data) serializer.is_valid(raise_exception=True) # Verification - ANALYZE_GEM.called_once_with(self.artifact) - _ARTIFACT_FROM_DATA.called_once_with("---\n...") + ANALYZE_GEM.assert_called_once_with(self.artifact.file) + _ARTIFACT_FROM_DATA.assert_called_once_with("---\n...") # Test that the GemContentSerializer does accept duplicate data. serializer.save() diff --git a/template_config.yml b/template_config.yml index 50a1bcc..4f3b021 100644 --- a/template_config.yml +++ b/template_config.yml @@ -9,7 +9,7 @@ check_commit_message: true check_manifest: true check_stray_pulpcore_imports: true -ci_base_image: "ghcr.io/pulp/pulp-ci-centos9" +ci_base_image: "ghcr.io/pulp/pulp-ci-centos10" ci_env: {} ci_trigger: "{pull_request: {branches: ['*']}}" cli_package: "pulp-cli-gem"