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

Uploaded Python 3

File details

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

File metadata

  • Download URL: jerproodoologparser-0.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 e88513a0c7ab157150111441370478558abbb9dc573cbfa1b0b7e6b63e267bc7
MD5 82981cc8aae9f3da0963630173fe01aa
BLAKE2b-256 4af011d2a1a7087422728d2d5d6e4d5304318bf031ea2a076b393abf0475d7d5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for jerproodoologparser-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 68fbf1551d4a6b7241127f6900801908ea60a37eb81c014ce8f860af4f23a092
MD5 b3a7eb45f9048b3b8a4492fa97660ac9
BLAKE2b-256 a3b640eab2dab7089665c8c01cb549073029fbd998dd5fbe71d0400e7c9d2dad

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