Metadata-Version: 1.1
Name: pytest-qt-app
Version: 1.0.0
Summary: QT app fixture for py.test
Home-page: https://github.com/manahl/pytest-plugins
Author: Edward Easton
Author-email: eeaston@gmail.com
License: MIT license
Description: Pytest QT Fixture
        =================
        
        Set up a Q Application for QT with an X-Window Virtual Framebuffer
        (Xvfb).
        
        Installation
        ------------
        
        Install using your favourite package installer:
        
        .. code:: bash
        
                pip install pytest-qt-app
                # or
                easy_install pytest-qt-app
        
        Enable the fixture explicitly in your tests or conftest.py (not required
        when using setuptools entry points):
        
        .. code:: python
        
                pytest_plugins = ['pytest_qt_app']
        
        Configuration
        -------------
        
        The fixtures are configured using the following evironment variables:
        
        +--------------------------+--------------------------+---------------------+
        | Setting                  | Description              | Default             |
        +==========================+==========================+=====================+
        | SERVER\_FIXTURES\_XVFB   | Xvfb server executable   | ``/usr/bin/Xvfb``   |
        +--------------------------+--------------------------+---------------------+
        
        Usage
        -----
        
        Here's a little test that shows it working:
        
        .. code:: python
        
                from PyQt4 import Qtgui
                
                def test_q_application(q_application):
                    # This shows the display is connected properly to the Xvfb
                    assert QtGui.QX11Info.display()         
        
        
        Changelog
        ---------
        
        1.0 (2015-12-21)
        ~~~~~~~~~~~~~~~~
        
        -  Initial public release
        
        
Platform: unix
Platform: linux
Classifier: License :: OSI Approved :: MIT License
Classifier: Development Status :: 5 - Production/Stable
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Testing
Classifier: Topic :: Software Development :: User Interfaces
Classifier: Intended Audience :: Developers
Classifier: Operating System :: POSIX
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
