Ansgar
|
aab91edea2
unify interpreter to "#! /usr/bin/env python3"
|
4 gadi atpakaļ |
Ansgar Burchardt
|
0bf4c90e93
silence warning "E305 expected 2 blank lines after class or function definition"
|
5 gadi atpakaļ |
Bastian Blank
|
32343595ab
Fix E302: Expected 2 blank lines, found 0
|
6 gadi atpakaļ |
Chris Lamb
|
74f1635e0e
Drop unused imports.
|
6 gadi atpakaļ |
Ansgar Burchardt
|
133b26d60b
test_srcformats.py: restore `import unittest`
|
6 gadi atpakaļ |
Ansgar Burchardt
|
7f42e94b09
Revert "srcformats: reject orig.tar.gz.asc files in source format 1.0" (Closes: #888448)
|
6 gadi atpakaļ |
Niels Thykier
|
b25c34eab5
Convert test suite to use pytest
|
7 gadi atpakaļ |
Julien Cristau
|
fe8fc1bfe5
srcformats: reject orig.tar.gz.asc files in source format 1.0
|
8 gadi atpakaļ |
Chris Lamb
|
25417639c3
Make all tests use DakTestCase.
|
15 gadi atpakaļ |
Chris Lamb
|
4e9d67806b
Drop the SourceFormat-specific validate_format classmethods.
|
15 gadi atpakaļ |
Chris Lamb
|
fd9038ac91
Don't validate a .changes Format as a source package version format (!)
|
15 gadi atpakaļ |
Chris Lamb
|
ef55b8c79a
Move parse_format tests to test_formats.py
|
15 gadi atpakaļ |
Chris Lamb
|
8c266683b1
Move parse_format into daklib.formats
|
15 gadi atpakaļ |
Chris Lamb
|
68f805c214
Add get_format_from_string utility method
|
15 gadi atpakaļ |
Chris Lamb
|
fee8895dd9
Attach validate_format(...) to each SourceFormat that can reject formats.
|
15 gadi atpakaļ |
Chris Lamb
|
b7d36f7122
Split out parse_format to module-level and test it explicitly.
|
15 gadi atpakaļ |
Chris Lamb
|
c9ba1a13b4
Split parsing of "Format:" string and validation of it.
|
15 gadi atpakaļ |
Chris Lamb
|
4587ac614f
"Format: 0.0" is now invalid
|
15 gadi atpakaļ |
Chris Lamb
|
3539a3c5aa
Add regression tests for parse_format.
|
15 gadi atpakaļ |
Chris Lamb
|
9b3cf7b8bd
Reject uploads that contain a native tarball and a diff.
|
15 gadi atpakaļ |
Chris Lamb
|
1783b80b28
dak heresy
|
15 gadi atpakaļ |