• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

containerbuildsystem / cachi2 / 9060479139 / 2
97%
main: 97%

Build:
DEFAULT BRANCH: main
Ran 13 May 2024 09:25AM UTC
Files 35
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

13 May 2024 09:23AM UTC coverage: 97.814%. Remained the same
9060479139.2

push

github

eskultety
tests: unit: package_managers: yarn: Fix mock assert called_once

Python 3.12 (not officially supported by cachi2) fails on the
    test_main.py::test_set_yarnrc_configuration

unit tests with the following error:
    AttributeError: 'called_once' is not a valid assertion. Use a spec
    for the mock if 'called_once' is meant to be an attribute.

Indeed, the proper way of handling this assertion is:
    mock_obj.assert_called_once()

Signed-off-by: Erik Skultety <eskultet@redhat.com>

3580 of 3660 relevant lines covered (97.81%)

0.98 hits per line

Source Files on job python-3.11 - 9060479139.2
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 9060479139
  • 64b4e10c on github
  • Prev Job for on main (#8986498664.2)
  • Next Job for on main (#9063001168.3)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc