pantab
pantab copied to clipboard
163 frames from hyper not pulling
This at least writes a test that currently fails for #163 , doesn't actually fix.
Hello @VDFaller! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
There are currently no PEP 8 issues detected in this Pull Request. Cheers! :beers:
Comment last updated at 2022-06-08 21:48:15 UTC
Test looks great. To your comment in the code shouldn’t need to unlink that - the test fixtures should do that on its own
Have an idea on how to fix or need guidance?
I was looking at conftest.py
but couldn't see anyplace where it unlinked. I can just steal from basic and see what you say.
Yea pytest is an amazing tool but conftest is a little strange at first. If you look here:
https://github.com/innobi/pantab/blob/f6a9fbb3f73cd51ada79e5d6d6aa114aea77dc98/pantab/tests/conftest.py#L138
You’ll see we are using the tmp_path fixture provided by pytest
https://docs.pytest.org/en/7.1.x/how-to/tmp_path.html
Oh that's WAY better than what I usually do. Live and learn.
@VDFaller did you want to work on the fix to go along with this test?
Closing as I think this is stale but would definitely take it if its something you want to pick back up @VDFaller