Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
chazeon committed Sep 23, 2023
1 parent b2d2225 commit c3f823a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ permissions:
contents: read

jobs:
build:
testing:

runs-on: ubuntu-latest

Expand Down
6 changes: 3 additions & 3 deletions tests/test_remove.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import pytest
import importlib
import sys
from pathlib import Path

TESTS_DIR = Path(__file__).parent

sys.path.insert(0, str(TESTS_DIR.parent))

from remove import removeWatermark

sys.path.insert(0, str(TESTS_DIR.parent))

@pytest.mark.parametrize("ifname", [TESTS_DIR / "lorem.pdf"])
def test_removal(ifname):
ofname = TESTS_DIR / ("%s.out.pdf" % (Path(ifname).stem,))
removeWatermark(str(ifname), str(ofname))
removeWatermark(str(ifname), str(ofname))

0 comments on commit c3f823a

Please sign in to comment.