Skip to main content

The Edgegap Fixtures library includes various tools and helpers for interacting with Pytest Fixtures

Project description

Edgegap Fixtures Library

This is the README for the Edgegap Pytest Fixtures, which is part of the Edgegap suite of helpers. This library provides utilities for interacting with pytest to mock elements like consul, database, etc.

Table of Contents

Overview

The Edgegap Fixtures library includes various tools and helpers for interacting with Pytest Fixtures. It is designed for use within the Edgegap organization.

Installation

To install this library, ensure you have Python and poetry installed. Then, use the following command:

poetry add edgegap-logging

Ensure you have the necessary permissions to install and use this library, as it is intended for Edgegap employees only.

Usage

Please consult Obsidian Documentation for Usage

Running Tests

To run tests for this library, you need to have pytest installed. You can install dev dependencies with:

poetry install --with=dev

then run

pytest

This will execute all the tests in the tests folder.

Uploading Package

To upload the distribution to pypi, you will need an API token from Pypi

poetry config pypi-token.pypi <your-api-token>
poetry version x.x.x
poetry publish --build

Contributing

If you'd like to contribute to this library and you're an Edgegap employee, please follow these steps:

  • Fork the repository.
  • Create a new branch for your changes (e.g., feature/my-feature).
  • Commit your changes with a clear message.
  • Push your branch to your fork.
  • Open a Pull Request, explaining the changes and providing any necessary context.

License

This software is proprietary to Edgegap. Only current Edgegap employees are allowed to use this library. Refer to the LICENSE file for detailed licensing information.

Contact

For support or questions related to this library, please contact support@edgegap.com.

Acknowledgements

Thanks to the Edgegap development team for creating and maintaining this library.

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

edgegap_fixtures-1.0.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

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

edgegap_fixtures-1.0.0-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file edgegap_fixtures-1.0.0.tar.gz.

File metadata

  • Download URL: edgegap_fixtures-1.0.0.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.10.13 Darwin/23.4.0

File hashes

Hashes for edgegap_fixtures-1.0.0.tar.gz
Algorithm Hash digest
SHA256 5a28e79182cea336eed989551d50dbd824bf6d94e09d53a5c28df8a3e50b438e
MD5 db8a30c5d50a4c2b28e5f0611a23c0aa
BLAKE2b-256 0ea1f8392a44f856b97a5d6eb3b00b95558e9022a4a34e7899dc5953d275d5a9

See more details on using hashes here.

File details

Details for the file edgegap_fixtures-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: edgegap_fixtures-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.10.13 Darwin/23.4.0

File hashes

Hashes for edgegap_fixtures-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8fb84c54893b0dcfe98d73af530f5c3d1d87f3ede36991333490310f3fd0fa2c
MD5 373888c0ee6bff0dc3e6c7ffc6b9ab99
BLAKE2b-256 e44d65d2f0d7415ebf6d97cdc4aea17e682e9a9d0f7c597c633abc4bfe0700f8

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