Metadata-Version: 2.1
Name: assert_element
Version: 0.1.0
Summary: Simple TestCase assertion that finds element based on it's path and check if it equals with given content.
Home-page: https://github.com/PetrDlouhy/assert_element
Author: Petr Dlouhý
Author-email: petr.dlouhy@email.cz
License: MIT
Description: =============================
        Django assert element
        =============================
        
        .. image:: https://badge.fury.io/py/assert_element.svg
            :target: https://badge.fury.io/py/assert_element
        
        .. image:: https://codecov.io/gh/PetrDlouhy/assert_element/branch/master/graph/badge.svg
            :target: https://codecov.io/gh/PetrDlouhy/assert_element
        
        Simple TestCase assertion that finds element based on it's path and check if it equals with given content.
        
        Documentation
        -------------
        
        The full documentation is at https://assert_element.readthedocs.io.
        
        Quickstart
        ----------
        
        Usage in tests:
        
        .. code-block:: python
        
            from assert_element import AssertElementMixin
        
            class MyTestCase(AssertElementMixin, TestCase):
                def test_something(self):
                    response = self.client.get(address)
                    self.assertElementContains(
                        response,
                        'div[id="my-div"]',
                        '<div id="my-div">My div</div>',
                    )
        
        Running Tests
        -------------
        
        Does the code actually work?
        
        ::
        
            source <YOURVIRTUALENV>/bin/activate
            (myenv) $ pip install tox
            (myenv) $ tox
        
        
        Development commands
        ---------------------
        
        ::
        
            pip install -r requirements_dev.txt
            invoke -l
        
        
        Credits
        -------
        
        Tools used in rendering this package:
        
        *  Cookiecutter_
        *  `cookiecutter-djangopackage`_
        
        .. _Cookiecutter: https://github.com/audreyr/cookiecutter
        .. _`cookiecutter-djangopackage`: https://github.com/pydanny/cookiecutter-djangopackage
        
        
        
        
        History
        -------
        
        0.1.0 (2022-08-21)
        ++++++++++++++++++
        
        * First release on PyPI.
        
Keywords: assert_element
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Framework :: Django :: 1.11
Classifier: Framework :: Django :: 2.1
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
