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

pywbem / pywbem / test-2792
92%
master: 92%

Build:
Build:
LAST BUILD BRANCH: andy/fix-rtd-config-2
DEFAULT BRANCH: master
Ran 04 Oct 2025 04:03PM UTC
Jobs 9
Files 47
Run time 1min
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

04 Oct 2025 03:48PM UTC coverage: 92.448%. Remained the same
test-2792

push

github

andy-maier
Migrated to using pytest log control for tests

Details:

* Added pytest.ini with default pytest file log settings.

* Added a decorator 'log_entry_exit' for logging the entry and exit of
  a test function at DEBUG level. Applied the decorator to all unit test
  functions.

* Added a fixture 'logger' that resolves to the logger for the test module.

* Added a support function 'get_logger()' that returns the logger for
  a test module. This can be used to set module-global logger objects,
  as it is needed for the test_indicationlistener.py module.

* Removed 'configure_root_logger()' in the test_indicationlistener.py module
  because the file logger is now configured by pytest.

* In test module test_wbemconnection_mock.py, renamed the pytest fixture
  test_schema_root_dir to tst_schema_root_dir, consistent with the other
  fixtures in that module. This was not a problem for pytest, but it
  confused me since it used the naming convention for test functions that
  pytest reciognizes, but it is a feature and not a test fuction.

* Added a section 'Logging during tests' to the development chapter in the
  documentation.

Signed-off-by: Andreas Maier <andreas.r.maier@gmx.de>

11483 of 12421 relevant lines covered (92.45%)

8.31 hits per line

Jobs
ID Job ID Ran Files Coverage
1 windows-latest,3.13,latest - test-2792.1 04 Oct 2025 07:05PM UTC 47
92.38
GitHub Action Run
2 macos-latest,3.13,latest - test-2792.2 04 Oct 2025 07:05PM UTC 47
92.39
GitHub Action Run
3 ubuntu-latest,3.8,latest - test-2792.3 04 Oct 2025 07:05PM UTC 47
92.38
GitHub Action Run
4 ubuntu-latest,3.13,latest - test-2792.4 04 Oct 2025 07:05PM UTC 47
92.39
GitHub Action Run
5 macos-latest,3.13,minimum - test-2792.5 04 Oct 2025 07:05PM UTC 47
92.39
GitHub Action Run
6 windows-latest,3.13,minimum - test-2792.6 04 Oct 2025 07:05PM UTC 47
92.38
GitHub Action Run
7 macos-latest,3.8,latest - test-2792.7 04 Oct 2025 07:05PM UTC 47
92.38
GitHub Action Run
8 ubuntu-latest,3.13,minimum - test-2792.8 04 Oct 2025 07:05PM UTC 47
92.39
GitHub Action Run
9 windows-latest,3.8,latest - test-2792.9 04 Oct 2025 07:05PM UTC 47
92.38
GitHub Action Run
Source Files on build test-2792
  • Tree
  • List 47
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 1a87256c on github
  • Prev Build on stable_1.8 (#TEST-2787)
  • Next Build on stable_1.8 (#TEST-2810)
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