invoice2data icon indicating copy to clipboard operation
invoice2data copied to clipboard

Unittests use try except for pdfminer_wrapper

Open bosd opened this issue 2 years ago • 2 comments

Use similar method as for pdftotext unittests.

bosd avatar Jun 23 '22 19:06 bosd

force pushing to trigger tests

bosd avatar Aug 08 '22 11:08 bosd

All approved. Hopefully we can count you as contributor soon.

m3nu avatar Aug 08 '22 17:08 m3nu

@rmilecki Can you please review?

bosd avatar Aug 26 '22 07:08 bosd

Looks good except for a bit messy commits. We have some (unneeded?) merge commit and commit adding extract_data() call.

If all those changes can be squashed into single commit during merge - that's great. If not maybe we could have that branch rebased and commits squashed manually?

rmilecki avatar Sep 01 '22 09:09 rmilecki

Looks good except for a bit messy commits. We have some (unneeded?) merge commit and commit adding extract_data() call.

Yes, I was fighting with the git cli. Seems ok, now

bosd avatar Sep 01 '22 09:09 bosd

Moved the test to the try block. As there is no result to test if the pdfminer module is not installed.

Yet, don't quite understand why it is failling. As using similar method as the pdftotext test.

Will have to dig deeper into this one. Any ideas?

bosd avatar Sep 01 '22 10:09 bosd

Hmm.. tests are still failling. Where is defined that pdfminer should be installed for the test suite?

bosd avatar Sep 05 '22 07:09 bosd

✨ All ✔️ now!! @m3nu Can you merge?

bosd avatar Sep 19 '22 11:09 bosd

@m3nu Do you know how to fix this one? It seems stuck on waiting for the result of the python 3.6 test. Which propably will never come in, as we removed it from the github workflow.

bosd avatar Sep 21 '22 08:09 bosd

Python 3.6 needed to be removed as required status check in GH Actions settings.

m3nu avatar Sep 21 '22 09:09 m3nu