Skip to content

Commit e372811

Browse files
committed
fixup! tests: add drafter tests
1 parent a3f514a commit e372811

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/git_draft/drafter_test.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import git
2-
import os.path as osp
32
from pathlib import Path, PurePosixPath
43
import pytest
54
from typing import Sequence
@@ -61,7 +60,7 @@ def setup(self, repo: git.Repo) -> None:
6160
def _path(self, name: str) -> Path:
6261
return Path(self._repo.working_dir, name)
6362

64-
def _read(self, name: str) -> None:
63+
def _read(self, name: str) -> str:
6564
with open(self._path(name)) as f:
6665
return f.read()
6766

0 commit comments

Comments
 (0)