Closed eli-schwartz closed 6 years ago
Apart from the title of the issue, excellent points ;) Let's just agree that your use case would be easier to handle if the tests were setup differently. My recommendation is for you to fork, adjust to cover your use-case, submit PR. Don't forget to test with tox.
Since there hasn't been any motion on this, and the described limitations appear to be inconvenience rather than real blockers, I am going to close this. Feel free to re-open.
open('test4_prov_module_actual.py', 'r')
andself._parse_tree(_get_elem(open(xml, mode="r")
(where xml is just "xmlprovider_topics.xml"), instead of usingos.path.join(os.path.dirname(__file__), 'xmlprovider_topics.xml'
)The ideal case would be that one could
git clone https://github.com/schollii/pypubsub && cd pypubsub && python -m pytest
and everything would just work without a fuss. Currently it instead requires an additionalcd tests/suite && PYTHONPATH=$PWD../../src/ python -m pytest
for no discernable reason.