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.1.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.1-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for jerproodoologparser-0.0.1.tar.gz
Algorithm Hash digest
SHA256 cdc38f72c2f2c1ea34323f35bca793f0bb8fd6b17cb3f49eb20e603026016184
MD5 a0624342ccf70bc16a9d0f1dbaf812b5
BLAKE2b-256 f05bd8196c5c5edab55c1d861a19e383fcc0f953fbef307a0f0eb85d4e28862f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for jerproodoologparser-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1125571c2e413da7b5f8e5651d21a51975ed909ccd22cf8a50b73b6f3876a121
MD5 db80f2a9e01c21aa2f21ab2d4a76a5c5
BLAKE2b-256 3552ae694f25b8f190a46f0cbc91e00178794496ce34ebc75d023e6c13483716

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