A library for parsing Odoo logs and collecting test information.
Project description
A library for parsing Odoo logs and collecting test information
Example of use:
# -*- coding: utf-8 -*-
import odoo_log_parser
with open("odoo_log_file.log", "r") as logfilo:
logparser = odoo_log_parser.OdooTestDigest(logfilo)
digest = logparser.get_full_test_digest()
# Accessing test data:
tests_succeeded = digest["db_name"]['tests_succeeded']
tests_failing = digest["db_name"]['tests_failing']
tests_errors = digest["db_name"]['tests_errors']
setup_errors = digest["db_name"]['setup_errors']
# Accessing details:
tests_failing[0]['test_path']
tests_failing[0]['test_log']
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jerproodoologparser-0.1.0.tar.gz.
File metadata
- Download URL: jerproodoologparser-0.1.0.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e6988eec4e2b78e9d50b5caaa2dae6d066445cbdbe0ed26415f8de79ae4dcd8b
|
|
| MD5 |
b3966c42af9251fb004f2e693d7108a3
|
|
| BLAKE2b-256 |
e8b2a385f0a8a582b04153671f96b97671d7eec749bd5eb73e05aa22c72b5728
|
File details
Details for the file jerproodoologparser-0.1.0-py3-none-any.whl.
File metadata
- Download URL: jerproodoologparser-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f3bf829a90426309a88c601c6b382388bb7eb4a5392e28ba9d39276c0f4ffbc0
|
|
| MD5 |
bb747bb52803a48e075b8fd387408cb8
|
|
| BLAKE2b-256 |
6b88ba0570d8376975fff4659e07ee84b1e5a4f5070c30dac77047a40e17f40a
|