Adding upstream version 0.17.0.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
d348d631e5
commit
9e88905bdf
128 changed files with 72 additions and 100 deletions
|
@ -1,4 +1,4 @@
|
|||
sh==1.14.2
|
||||
pytest==6.2.5;
|
||||
arrow==1.2.0;
|
||||
arrow==1.2.1;
|
||||
gitlint # no version as you want to test the currently installed version
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
# This code is mostly duplicated from the `gitlint.shell` module. We conciously duplicate this code as to not depend
|
||||
# This code is mostly duplicated from the `gitlint.shell` module. We consciously duplicate this code as to not depend
|
||||
# on gitlint internals for our integration testing framework.
|
||||
|
||||
import subprocess
|
||||
|
|
|
@ -23,7 +23,7 @@ class StdInTests(BaseTestCase):
|
|||
self.assertEqualStdout(output, self.get_expected("test_stdin/test_stdin_pipe_1"))
|
||||
|
||||
def test_stdin_pipe_empty(self):
|
||||
""" Test the scenario where no TTY is attached an nothing is piped into gitlint. This occurs in
|
||||
""" Test the scenario where no TTY is attached and nothing is piped into gitlint. This occurs in
|
||||
CI runners like Jenkins and Gitlab, see https://github.com/jorisroovers/gitlint/issues/42 for details.
|
||||
This is the equivalent of doing:
|
||||
$ echo -n "" | gitlint
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue