jgirardet / pytest-ponyorm

PonyORM in Pytest
GNU General Public License v3.0
4 stars 2 forks source link

Add ability to run tests not within db_session #6

Closed Elijas closed 5 years ago

Elijas commented 5 years ago

Fixes issue https://github.com/jgirardet/pytest-ponyorm/issues/5

Proof of working tests https://travis-ci.com/Elijas/pytest-ponyorm/builds/104247902

PR is 100% backwards compatible with existing functionality, however the new flag might need some work (see skipped tests), although the current state fully satisfies my own usage

jgirardet commented 5 years ago

looking it I was wondering something was missing. indeed, I told you it was ok, but I did'nt pushed all upstream :roll_eyes: so your PR I one commit behind master : this one : https://github.com/jgirardet/pytest-ponyorm/commit/3cd91dc9785076e30079d0df82f9bdcb68820a87 anyway I'll merge it together and fix the test soon. thanks for your work