mike + package   7

jeffmacdonald/pytest_test: A stable and simple example of pytest on a simple module.
The goal of this repository is to provide a simple working example of tox and py.test.
tox  pytest  package  module  python 
august 2016 by mike
hack to insert package root into path when running py.test
$ cat tests/conftest.py
import sys, os
sys.path.insert(0, os.path.abspath(os.getcwd()))
python  package  pytest  module  from notes
august 2016 by mike

Copy this bookmark: