Metadata-Version: 1.1
Name: equality
Version: 0.0.1
Summary: Utilities to aid in testing for equality.
Home-page: http://pypi.python.org/pypi/equality/
Author: Jonathan Hartley
Author-email: tartley@tartley.com
License: UNKNOWN
Description-Content-Type: UNKNOWN
Description: Help with failing asserts like
        
            assert actual == {
                'id': 123,
                'field1': 1,
                ...
            }
        
        Where 'id' is generated by the database and is different every test run.
        Fix this using 'AnyInt':
        
            assert actual == {
                'id': AnyInt(),
                'field1': 1,
                ...
            }
        
        Instances of AnyInt compare equal to any integer. So this assertion will
        now pass if and only if the value of the 'id' field is an int.
        
        There are other classes for use in other situations.
        
        Dependencies
        ------------
        
        Written on Python 2.7 (sorry),
        but it's a bug if it doesn't work on 3 as well.
        
        Install
        -------
        
        ::
        
            pip install equality
        
        Plans
        -----
        
        Slowly add occasional new classes as the need arises.
        
        Known Problems
        --------------
        
        It's hot of the presses, so is doubtless full of mistakes.
        
        Alternatives
        ------------
        
        This doubtless duplicates better work elsewhere. Let me know and I'll
        happily delete this project.
        
        Thanks
        ------
        
        To all the good folks formerly of Resolver Systems.
        
        Contact
        -------
        
        :For users: Downloads & documentation:
            http://pypi.python.org/pypi/equality/
        
        :For developers: Souce code & issues:
            https://github.com/tartley/equality/
        
        :Contact the author:
            Jonathan Hartley, email: tartley at domain tartley.com, Twitter: @tartley.
        
        
Keywords: test testing equal equals equality
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Natural Language :: English
Classifier: Operating System :: Microsoft :: Windows :: Windows 7
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: Implementation :: CPython
