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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for assertmixins-0.1.1.tar.gz
Algorithm Hash digest
SHA256 5f4824da2a59caf323e27ce9e2ca8813e8487f69db97f8d8f6cc5e97f5d76b35
MD5 1bc30958e2969254fb7f89eb8a4cc777
BLAKE2b-256 a8587bfe9993c65edfcb9ca4a9742104c6bd4384ebc01a1dbd0864520692166e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: assertmixins-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 2.1 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.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a16b829dd2584145c8fe48ec4010f2963c2be2f0342a66bb43d6af4c60c4a084
MD5 fde8b71429a1ad75d7f1402da32d76f6
BLAKE2b-256 a80f3fb21aeae689c8f7cc2b3368dc8497cfe39e41b3333f2ce3e38cb3ba7eb5

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