1
0

drop tests

This commit is contained in:
2024-10-29 05:12:06 +03:00
parent cfb6102755
commit ae7b2275b8
9 changed files with 2 additions and 123 deletions

View File

@@ -7,7 +7,7 @@ import typing
import jinja2
from .dataclasses_deb822 import read_deb822
from .debian import SourcePackage, BinaryPackage, TestsControl
from .debian import SourcePackage, BinaryPackage
class Templates(object):
@@ -77,11 +77,6 @@ class Templates(object):
) -> typing.Iterable[SourcePackage]:
return read_deb822(SourcePackage, io.StringIO(self.get(key, context)))
def get_tests_control(
self, key: str, context: dict[str, str] = {},
) -> typing.Iterable[TestsControl]:
return read_deb822(TestsControl, io.StringIO(self.get(key, context)))
class TextWrapper(textwrap.TextWrapper):
wordsep_re = re.compile(