Skip to main content

anchorscad-test-tools

This package provides a test helper for comparing two iterables based on an expectation function. It provides more information about the difference between the two iterables.

The module anchorscad_lib.test_tools is the main module in this package. The anchorscad_lib namespace is used by a number of Anchorscad packages.

Installation

pip install anchorscad-test-tools

Usage

import unittest
from anchorscad_lib.test_tools import iterable_assert

class TestMyThing(unittest.TestCase):
    def test_almost_same(self):
        iterable_assert(self.assertAlmostEqual, VALUESA, VALUESB, places=3)

This is not particularly revolutionary, but it is used by a number of Anchorscad tests in now different packages which required this to be extracted into a separate package.

Metadata

Release files for anchorscad-test-tools 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for anchorscad-test-tools 0.1.0
File Size Uploaded Provenance Actions
anchorscad_test_tools-0.1.0.tar.gz 14.5 kB With provenance Details for anchorscad_test_tools-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for anchorscad-test-tools 0.1.0
File Interpreter ABI Platform Actions
anchorscad_test_tools-0.1.0-py3-none-any.whl Python 3 none any Details for anchorscad_test_tools-0.1.0-py3-none-any.whl

Total release size: 26.9 kB

Release files / anchorscad_test_tools-0.1.0.tar.gz

Download URL anchorscad_test_tools-0.1.0.tar.gz
Size 14.5 kB
Tags Source
SHA-256 checksum
How to use checksums
a4334b2a45e7171a86dc176c678e0ca657bc3fca2ab71873d939feea2f605399
BLAKE2b-256 checksum
How to use checksums
92f8cb5d2e4610bbd702899f29cc94b1b133338da699a3bf03b072b0afca225f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.0.1 CPython/3.12.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 7, 2025.

Transparency log

Release files / anchorscad_test_tools-0.1.0-py3-none-any.whl

Download URL anchorscad_test_tools-0.1.0-py3-none-any.whl
Size 12.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6d960acfa9829348cfb76456460ce9da1255b396eb127bcbc59358dadc990b8c
BLAKE2b-256 checksum
How to use checksums
2d2a8ddf745ceafcdf53433629bac647c2c7364a6ab98323e0e070fcba48835c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.0.1 CPython/3.12.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 7, 2025.

Transparency log

Security for anchorscad-test-tools 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for anchorscad_test_tools-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 7, 2025.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page