pantab icon indicating copy to clipboard operation
pantab copied to clipboard

163 frames from hyper not pulling

Open VDFaller opened this issue 2 years ago • 6 comments

This at least writes a test that currently fails for #163 , doesn't actually fix.

VDFaller avatar Jun 08 '22 21:06 VDFaller

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

pep8speaks avatar Jun 08 '22 21:06 pep8speaks

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?

WillAyd avatar Jun 08 '22 21:06 WillAyd

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.

VDFaller avatar Jun 08 '22 21:06 VDFaller

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

WillAyd avatar Jun 08 '22 21:06 WillAyd

Oh that's WAY better than what I usually do. Live and learn.

VDFaller avatar Jun 08 '22 21:06 VDFaller

@VDFaller did you want to work on the fix to go along with this test?

WillAyd avatar Jul 22 '22 00:07 WillAyd

Closing as I think this is stale but would definitely take it if its something you want to pick back up @VDFaller

WillAyd avatar Nov 22 '22 21:11 WillAyd