PrivexBaseCase

class tests.base.PrivexBaseCase(methodName='runTest')[source]

Base test-case for module test cases to inherit.

Contains useful class attributes such as falsey and empty_vals that are used across different unit tests.

__init__(methodName='runTest')

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

Methods

Methods

Attributes

Attributes

empty_lst

empty_vals

empty_zero

falsey

Normal False-y values, as various types

falsey_empty

False-y values, plus ‘empty’ values like ‘’ and None

truthy

Truthful values, as various types