Metadata-Version: 2.1
Name: pytest-anything
Version: 0.1.1
Summary: Pytest fixtures to assert anything and something
Home-page: https://gitlab.com/diefans/pytest-anything
Author: Oliver Berger
Author-email: diefans@gmail.com
License: UNKNOWN
Description: Anything and Something fixtures for pytest
        ==========================================
        
        If you ever had to ignore a certain part of an assertion, you would end up with
        this.
        
        .. code-block:: python
        
            import pytest
        
        
            @pytest.mark.parametrize("obj", ["string", 123, 123.1, True, False, None, object()])
            def test_anything(obj, Anything):
                assert obj == Anything
        
        
            @pytest.mark.parametrize("obj", ["string", 123, 123.1, True, False, object()])
            def test_something(obj, Something):
                assert obj == Something
        
        
            def test_nothing(Something):
                obj = None
                assert obj != Something
        
        
            def test_anything_repr(Anything):
                assert repr(Anything) == "Anything"
        
        
            def test_something_repr(Something):
                assert repr(Something) == "Something"
        
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Framework :: AsyncIO
Classifier: License :: OSI Approved :: Apache Software License
Classifier: License :: OSI Approved :: MIT License
Requires-Python: >=3.7,<4.0
Description-Content-Type: text/x-rst
Provides-Extra: tests
