Skip to content

Add tests, jar version bumps, resolve issue with cloudlare API

Wout Bouckaert requested to merge feature/setup-testing into dev

What does this MR do and why?

  • Adds tests for functions with pytest

    • Includes test file, and simple pytest.ini
  • New test requirements file at tests/requirements.txt, Includes pytest 8.2.1

  • Bump Fabric loader version to 0.15.11

  • Bump forge versions:

    • 1.20.6: 50.0.8 -> 50.0.31
    • 1.20.4: 49.0.49 -> 49.0.51
  • Bumps requirements:

    • Boto3 1.34.89 -> 1.34.117
    • Botocore 1.34.89 -> 1.34.117
    • Requests 2.31.0 -> 2.32.3
  • Resolves issue with Cloudflare API calls when more than 30 jars were being added or updated.

-Zed: This merge request will also include the pipeline configuration for Gitlab code coverage as well as Sonarqube code coverage parsing of the pytest tests

How to set up and validate locally

Tested with manifest.json from Arcadia repository on 2024-06-01

All tests passed

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

  • Have you checked this doesn't interfere/conflict/duplicate someone elses work?
  • Have you fully tested your changes?
  • Have you resolved any lint issues?
  • Have you assigned a reviewer?
  • Have you applied correct labels?
Edited by Iain Powrie

Merge request reports