Permalink
Commits on May 3, 2017
  1. Merge pull request #325 from rcoh/patch-1

    jeanphix committed May 3, 2017
    Allow timeout to be passed to session functions
Commits on May 2, 2017
  1. Allow timeout to be passed to session functions

    rcoh committed May 2, 2017
    Currently, the wrapper passes `timeout` along to the session function. However, functions like `click()` don't accept the timeout parameter so you end up with:
    
    ```
      File "ghost_test.py", line 17, in get_login_cookie
        session.click('#login', expect_loading=True, timeout=30)
      File "/usr/local/lib/python2.7/site-packages/ghost/ghost.py", line 179, in wrapper
        func(self, *args, **kwargs)
    TypeError: click() got an unexpected keyword argument 'timeout'
    ```
    
    This change moves popping timeout to before the invocation of `func` to fix the bug.
Commits on Apr 28, 2017
  1. Merge branch 'pyside2' into dev

    jeanphix committed Apr 28, 2017
Commits on Apr 20, 2017
  1. Use `xvfbwrapper`

    jeanphix committed Apr 20, 2017
  2. Use a modern defaut user agent

    jeanphix committed Apr 20, 2017
  3. Start 2.0.0 development

    jeanphix committed Apr 18, 2017
  4. Drop python2 support

    jeanphix committed Mar 28, 2017
Commits on Mar 28, 2017
  1. Use `PySide2` `Qt5` binding

    jeanphix committed Mar 23, 2017
Commits on Mar 24, 2017
  1. Merge pull request #320 from EvaSDK/library-logging

    EvaSDK committed Mar 24, 2017
    Follow logging module best practice for librairies.
    
    Modules should not alter logging pipe themselves, this is up to applications.
    Leave logging module do message interpolation as needed to allow advanced usages such as translation, aggregation, etc.
  2. Fix logging calls not doing lazy formatting

    Gilles Dartiguelongue committed Dec 29, 2016
    Allows for advance uses of logs such as done by sentry, etc.
  3. Use the documented logging.Logger.warning function instead of warn

    Gilles Dartiguelongue committed Dec 29, 2016
    It is deprecated in python 3 and actually breaks with LoggerAdapter.
  4. Avoid introspection on logging calls

    Gilles Dartiguelongue committed Dec 29, 2016
    Introspection is nice but it has a cost, especially when the functions
    called are mere convience functions for the more generic
    `logging.Logger.log`. Use logging module constants as an added bonus
    for clarity.
  5. Leave logger configuration to library user

    Gilles Dartiguelongue committed Dec 27, 2016
    It is bad practice to change logging framework defaults, it is the responsability
    of the caller to set things up as caller wants it.
    
    Use a LoggerAdapter to allow tracing session in LogRecord if so desired.
Commits on Feb 15, 2017
  1. Merge pull request #323 from EvaSDK/travis-support

    jeanphix committed Feb 15, 2017
    Travis support
  2. Update classifiers with supported python versions

    Gilles Dartiguelongue committed Feb 15, 2017
    Give an explicit list as seems to be the best practive on pypi and allow sites such as
    "Python 3 Wall of Superpowers" and "Python 3 Readiness" to correctly identify
    python support of this package.
  3. Replace drone.io badge by Travis CI

    Gilles Dartiguelongue committed Feb 15, 2017
    drone.io is being completely revamped it seems but was broken for
    months. Maybe get back to it when the new service has landed.
  4. Use super when possible

    Gilles Dartiguelongue committed Feb 14, 2017
    Using super for python 2 does not work here.
  5. Skip test that appears broken with Travis CI specifically

    Gilles Dartiguelongue committed Dec 28, 2016
  6. Silence BrokenPipeError

    Gilles Dartiguelongue committed Dec 28, 2016
    Stolen from mailman builtin WSGI server.
  7. Provide better feedback for test_set_field_value_simple_file_field fa…

    Gilles Dartiguelongue committed Dec 27, 2016
    …ilure
  8. Export DISPLAY to tox

    Gilles Dartiguelongue committed Dec 27, 2016
  9. Add .eggs to Travis CI cache

    Gilles Dartiguelongue committed Dec 27, 2016
  10. Add Travis CI configuration file

    Gilles Dartiguelongue committed Dec 27, 2016
    Drone.io seems very annoying to setup matrix builds.
  11. Merge pull request #318 from EvaSDK/tox-updates

    jeanphix committed Feb 15, 2017
    Tox updates
  12. Fix simple import issue with python3

    Gilles Dartiguelongue committed Dec 22, 2016
  13. Shutdown WSGI server whatever happens in the unittest

    Gilles Dartiguelongue committed Dec 22, 2016
  14. Redirect unittest WSGI logs to logging

    Gilles Dartiguelongue committed Dec 22, 2016
  15. Uniformize unittest startup

    Gilles Dartiguelongue committed Dec 22, 2016
    * via tox, unchanged
    * via nosetests, no arguments required
    * via python ./setup.py, either test or nosetest work without extra
      arguments