Introduce DEP-8 tests from Ubuntu.
This commit is contained in:
1
debian/changelog
vendored
1
debian/changelog
vendored
@@ -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
1
debian/control
vendored
@@ -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
14
debian/tests/client
vendored
Executable 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
2
debian/tests/control
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
Tests: client
|
||||
Depends: python-neutronclient
|
||||
Reference in New Issue
Block a user