Skip to main content

Library of testing helper mixins.

Project description

A library of mixin classes containing assertion methods

Example of use:

# -*- coding: utf-8 -*-
import unittest, assert_mixins

class SampleTestCase(unittest.TestCase, assert_mixins.ElementaryMixin):
    def test_thing_has_length_two(self):
        self.assertLength([3, 4], 2, msg="Length is different from two!")

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

assertmixins-0.2.1.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

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

assertmixins-0.2.1-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: assertmixins-0.2.1.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for assertmixins-0.2.1.tar.gz
Algorithm Hash digest
SHA256 0f0df92aaafe1726c212d6e3341757339b10269c93055b9f4548a7ec2e114b79
MD5 f1470ddcc40ebe0bc9e4478abbb6a8e5
BLAKE2b-256 7bfc69d2f5d6b53301da0c03ced9b9d82d64ce7ad773a09c2deadb795da92d40

See more details on using hashes here.

File details

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

File metadata

  • Download URL: assertmixins-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 2.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for assertmixins-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4ef139adbc47c8e04be4fede724af57d698a60c542fae826743a7253ef71920b
MD5 a7ddd46632d2d9e7f03041f1d8e19ee4
BLAKE2b-256 420759ed5aae9d578f28579eb558060e09fd177d82d7ca8ca320978b64ea58c9

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