Metadata-Version: 1.1
Name: django-whatever
Version: 0.3
Summary: Unobtrusive test models creation for django.
Home-page: http://github.com/ivelum/django-whatever
Author: Sergey Fursov
Author-email: geyser85@gmail.com
License: MIT License
Description: Unobtrusive test models creation for django
        
        Ivelum's repo is a friendly fork of the ``django-any`` package written by
        Mikhail Podgurskiy (kmmbvnr) and the original ``django-whatever`` repository
        created and maintained by Ilya Baryshev (coagulant)
        
        The purpose of the fork is to fix most annoying bugs and add `some features <http://django-whatever.readthedocs.org/en/latest/changelog.html>`_
        To remain compatible with original package ``django-whatever`` retains same namespace: ``django_any``.
        
        ``django-whatever`` is explicit replacement for old-style, big and error-prone
        implicit fixture files.
        
        ``django-whatever`` allows you to specify only fields important for tests
        and fills the rest randomly with acceptable values.
        
        It makes tests clean and easy to understand, without reading fixture files.::
        
            from django_any import any_model
        
            class TestMyShop(TestCase):
                def test_order_updates_user_account(self):
                    account = any_model(Account, amount=25, user__is_active=True)
                    order = any_model(Order, user=account.user, amount=10)
                    order.proceed()
        
                    account = Account.objects.get(pk=account.pk)
                    self.assertEquals(15, account.amount)
        
        Read more at the docs: http://django-whatever.readthedocs.org/
        
Platform: any
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Framework :: Django
Classifier: Framework :: Django :: 2.2
Classifier: Framework :: Django :: 3.0
Classifier: Topic :: Software Development :: Testing :: Mocking
