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.3.0.tar.gz (2.1 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.3.0-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for assertmixins-0.3.0.tar.gz
Algorithm Hash digest
SHA256 afdcd41d4efa39d40b36febadea438860a26148edcf60fcd6ca9781cd595fa45
MD5 243e7bc6e7fdf77445ff38306ec38287
BLAKE2b-256 720103329c8164356b86b051373e178bce690fe5259e4932729594c04cef59a9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: assertmixins-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 2.7 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 89257ea28cd70c96f7b52dbf240510a308e24642562e08ca327e0846429c7abb
MD5 630726bc35a837bf0a021fd8234663e7
BLAKE2b-256 33974a224263488a261d8d27dd77b284fef1b32bad952432aab8e9ba15a0b31a

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