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.4.0.tar.gz (2.5 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.4.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for assertmixins-0.4.0.tar.gz
Algorithm Hash digest
SHA256 edff4149e358d1a05371d35576e391644b10a9c619d23b098fea47c696fd93c2
MD5 73dfa0c1647b2e1f87116627aa0ca94f
BLAKE2b-256 b75bcaf79141f76011bd7bb635d29444f309d9da2c66de4f2f75f5af8647504c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: assertmixins-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 3.4 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.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b4b08ffbad2dbccc2f9a5da852a1b98ea437ff63a6221b8e863e08c0fe23e1ae
MD5 7d3112d8d01e3b024de064d9e1000ad4
BLAKE2b-256 4ba2546530560c5095b76c6856129e27e09c479f94f472209459b445e7866fdb

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