Skip to main content

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

jerproodoologparser-0.0.2.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jerproodoologparser-0.0.2-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file jerproodoologparser-0.0.2.tar.gz.

File metadata

  • Download URL: jerproodoologparser-0.0.2.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for jerproodoologparser-0.0.2.tar.gz
Algorithm Hash digest
SHA256 de655061a347f97ec243a7b552fc05f2a46851baf90f0bee28294afc659c1344
MD5 088ec125aba78a1da546792d30d40951
BLAKE2b-256 84ca5d1a4373ee09eef2d518a468f95797a2aa7d8a24ab665bd2538b58bd6042

See more details on using hashes here.

File details

Details for the file jerproodoologparser-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for jerproodoologparser-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fefacdb5b8b1969dad2a482c74d59a626f92b38df1dca0fc50e212629613c1db
MD5 52315bad9a78c7deddec9a21c2f8ee99
BLAKE2b-256 2dea3ef80d5e4a93bd37631b2eb2dbdb4a3354ff0feefecb540fdb56b4a0a79b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page