Introduce DEP-8 tests from Ubuntu.

This commit is contained in:
James Page
2015-06-23 12:05:31 +01:00
parent cd3cde9912
commit 3cf6851e41
4 changed files with 18 additions and 0 deletions

1
debian/changelog vendored
View File

@@ -3,6 +3,7 @@ python-neutronclient (1:2.6.0-1) UNRELEASED; urgency=medium
* New upstream release:
- d/control: Align dependencies and versions with upstream.
* Bump epoch inline with Ubuntu to support resync.
* Introduce DEP-8 tests from Ubuntu.
-- James Page <james.page@ubuntu.com> Tue, 23 Jun 2015 11:47:17 +0100

1
debian/control vendored
View File

@@ -38,6 +38,7 @@ Standards-Version: 3.9.6
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=openstack/python-neutronclient.git;a=summary
Vcs-Git: git://anonscm.debian.org/openstack/python-neutronclient.git
Homepage: http://launchpad.net/python-neutronclient
XS-Testsuite: autopkgtest
Package: python-neutronclient
Architecture: all

14
debian/tests/client vendored Executable file
View File

@@ -0,0 +1,14 @@
#!/bin/bash
#-------------------------
# Testing client utilities
#-------------------------
set -e
HELP_CLIENTS=('neutron')
for client in "${HELP_CLIENTS[@]}"; do
RET=$($client -h 2>&1 > /dev/null)
if [[ $RET ]]; then
echo "ERROR, ${client} is not running"
fi
done

2
debian/tests/control vendored Normal file
View File

@@ -0,0 +1,2 @@
Tests: client
Depends: python-neutronclient