[Python-modules-commits] [pylint-celery] 16/17: add DEP-8 tests

Daniel Stender stender at moszumanska.debian.org
Sat Aug 6 11:37:38 UTC 2016


This is an automated email from the git hooks/post-receive script.

stender pushed a commit to branch master
in repository pylint-celery.

commit e018f4269947c2b5b9250151052c13e7cc2efc2a
Author: Daniel Stender <stender at debian.org>
Date:   Sat Aug 6 13:31:14 2016 +0200

    add DEP-8 tests
---
 debian/changelog                   | 3 ++-
 debian/tests/control               | 5 +++++
 debian/tests/python-pylint-celery  | 3 +++
 debian/tests/python3-pylint-celery | 3 +++
 4 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index d30d241..d663794 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -14,11 +14,12 @@ pylint-celery (0.3-2) UNRELEASED; urgency=medium
   * deb/watch:
     + watch Github instead of Pypi.
   * build with new upstream tarball pylint-celery_0.3.orig.tar.xz.
+  * add DEP-8 tests.
 
     [ Ondřej Nový ]
   * Fixed VCS URL (https)
 
- -- Daniel Stender <stender at debian.org>  Sat, 06 Aug 2016 13:17:24 +0200
+ -- Daniel Stender <stender at debian.org>  Sat, 06 Aug 2016 13:30:58 +0200
 
 pylint-celery (0.3-1) unstable; urgency=medium
 
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..e400660
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,5 @@
+Tests: python-pylint-celery
+Depends: python-all, pylint, python-pylint-plugin-utils, python-astroid, python-logilab-common, python-celery
+
+Tests: python3-pylint-celery
+Depends: python3-all, pylint3, python3-pylint-plugin-utils, python3-astroid, python3-logilab-common, python3-celery
\ No newline at end of file
diff --git a/debian/tests/python-pylint-celery b/debian/tests/python-pylint-celery
new file mode 100755
index 0000000..055fb78
--- /dev/null
+++ b/debian/tests/python-pylint-celery
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+for py in $(pyversions -i); do echo "[*] testing $py:"; PYTHONDONTWRITEBYTECODE=1 PYTHONPATH=. $py -Wd test/test_func.py 2>&1; done
diff --git a/debian/tests/python3-pylint-celery b/debian/tests/python3-pylint-celery
new file mode 100755
index 0000000..2a6f3db
--- /dev/null
+++ b/debian/tests/python3-pylint-celery
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+for py in $(py3versions -i); do echo "[*] testing $py:"; PYTHONDONTWRITEBYTECODE=1 PYTHONPATH=. $py -Wd test/test_func.py 2>&1; done

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/pylint-celery.git



More information about the Python-modules-commits mailing list