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.2.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.2.2-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: assertmixins-0.2.2.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.2.2.tar.gz
Algorithm Hash digest
SHA256 3c7b200a6f515eff9293876db8caeb05ce4d329b30807febf4c7301fb47a66fd
MD5 3476764a53fab2dd829d8f71692bf5e4
BLAKE2b-256 8406130c01ea54e30a61b0ebdb19f2b43de032835cce160efdb418d81c3717c7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: assertmixins-0.2.2-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.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 39721cd6d2c619b92b8c2cacf9742ff98c50aee81d0640df9a64373bdece4519
MD5 52e3592e050b115c19fc9d0522c89309
BLAKE2b-256 07b3a31cfd6efbaf89f6c42edb69fe0fc1604f7d8425cc8a994e9b298c04151c

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