Metadata-Version: 1.0
Name: charlatan
Version: 0.2.1
Summary: Efficiently manage and install data fixtures
Home-page: https://github.com/uber/charlatan
Author: Charles-Axel Dein
Author-email: charles@uber.com
License: UNKNOWN
Description: ['Charlatan: Fixtures Made Easy\n', '=============================\n', '\n', '**Efficiently manage and install data fixtures**\n', '\n', '`Charlatan` is a library that you can use in your tests to create database\n', 'fixtures. Its aim is to provide a pragmatic interface that focuses on making it\n', 'simple to define and install fixtures for your tests. It is also agnostic in so\n', "far as even though it's designed to work out of the box with SQLAlchemy models,\n", 'it can work with pretty much anything else.\n', '\n', 'Documentation\n', '-------------\n', '\n', 'Latest documentation: `uber.github.io/charlatan <http://uber.github.io/charlatan/>`_\n', '\n', 'Getting started\n', '---------------\n', '\n', '.. code-block:: python\n', '\n', '    import unittest\n', '\n', '    from toaster.models import db_session\n', '\n', '    import charlatan\n', '\n', '    charlatan.load("./tests/data/fixtures.yaml",\n', '                   models_package="toaster.models",\n', '                   db_session=db_session)\n', '\n', '\n', '    class TestToaster(unittest.TestCase, charlatan.FixturesManagerMixin):\n', '\n', '        def setUp(self):\n', '            self.clean_fixtures_cache()\n', '            self.install_fixtures(("toaster", "user"))\n', '\n', '        def test_toaster(self):\n', '            """Verify that toaster can toast."""\n', '\n', '            self.toaster.toast()\n', '\n', 'Installation\n', '------------\n', '\n', 'For now, you need to install `charlatan` by adding the following to your\n', '``requirements.txt``::\n', '\n', '    -e git+git@github.com:uber/charlatan.git#egg=charlatan\n', '\n', 'License\n', '-------\n', '\n', 'charlatan is available under the MIT License.\n', '\n', 'Copyright Uber 2013, Charles-Axel Dein <charles@uber.com>\n', '\n', 'Authors\n', '-------\n', '\n', 'Charles-Axel Dein <charles@uber.com>\n']
Keywords: tests,fixtures,database
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Programming Language :: Python
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Topic :: Software Development :: Testing
Classifier: Topic :: Software Development :: Libraries :: Python Modules
