Skip to main content

Docker-based Odoo instances for integration testing

Project description

godoo-testcontainers

Docker-based Odoo instances for integration testing

Install

pip install godoo-testcontainers

Quick start

import asyncio
from godoo.testcontainers import OdooTestContainer

async def main():
    container = OdooTestContainer(modules=["sale"])
    started = await container.start()
    # started.client is an authenticated OdooClient
    await started.cleanup()

Links

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

godoo_testcontainers-0.2.1.tar.gz (14.9 kB view details)

Uploaded Source

Built Distribution

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

godoo_testcontainers-0.2.1-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

Details for the file godoo_testcontainers-0.2.1.tar.gz.

File metadata

  • Download URL: godoo_testcontainers-0.2.1.tar.gz
  • Upload date:
  • Size: 14.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for godoo_testcontainers-0.2.1.tar.gz
Algorithm Hash digest
SHA256 66e1ba386c05e8cc3926a8a20a6fdf08f12d5112f9d23497f7b665913d5e3a45
MD5 aea29dddd0152e193f08bb1c8b9c6cc5
BLAKE2b-256 a9d7fb9817e922a199021a9f25304ce10b4cb0a1e9d678fee4a08e21b380b20b

See more details on using hashes here.

File details

Details for the file godoo_testcontainers-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: godoo_testcontainers-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 12.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for godoo_testcontainers-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9c9a2012b7370a0c9cb12c8416c80fe8ba6a3b54cffef580200b9d8785836bbf
MD5 46d0385978e60f75128e0b365a5d0f8e
BLAKE2b-256 783da3a9d70cdfbd55346c681e42592705e18cfb068a8388c4457d4301e3ed4e

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