Merge lp:~mvo/apt-btrfs-snapshot/dep8 into lp:apt-btrfs-snapshot

Proposed by Michael Vogt
Status: Needs review
Proposed branch: lp:~mvo/apt-btrfs-snapshot/dep8
Merge into: lp:apt-btrfs-snapshot
Diff against target: 63 lines (+16/-2)
4 files modified
debian/control (+2/-0)
debian/tests/control (+4/-0)
debian/tests/run-tests (+7/-0)
setup.py (+3/-2)
To merge this branch: bzr merge lp:~mvo/apt-btrfs-snapshot/dep8
Reviewer Review Type Date Requested Status
Michael Vogt Pending
Review via email: mp+132240@code.launchpad.net

Description of the change

This adds dep8 test integration.

To post a comment you must log in.
Revision history for this message
Benjamin Drung (bdrung) wrote :

Are the python-setupuptool test really run against the installed package?

lp:~mvo/apt-btrfs-snapshot/dep8 updated
49. By Michael Vogt

debian/tests/control: add missing python3-setuptools

50. By Michael Vogt

run more test depends

Unmerged revisions

50. By Michael Vogt

run more test depends

49. By Michael Vogt

debian/tests/control: add missing python3-setuptools

48. By Michael Vogt

add dep8 tests

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/control'
2--- debian/control 2012-10-26 09:27:26 +0000
3+++ debian/control 2012-10-31 22:14:21 +0000
4@@ -8,6 +8,7 @@
5 python3-mock,
6 pyflakes,
7 python (>= 2.6.5-2~),
8+ python-setuptools,
9 python-distutils-extra,
10 python-mock,
11 pep8,
12@@ -15,6 +16,7 @@
13 X-Python3-Version: >= 3.2
14 Standards-Version: 3.9.3
15 Vcs-Bzr: https://code.launchpad.net/apt-btrfs-snapshot
16+XS-Testsuite: autopkgtest
17
18 Package: apt-btrfs-snapshot
19 Architecture: all
20
21=== added directory 'debian/tests'
22=== added file 'debian/tests/control'
23--- debian/tests/control 1970-01-01 00:00:00 +0000
24+++ debian/tests/control 2012-10-31 22:14:21 +0000
25@@ -0,0 +1,4 @@
26+Tests: run-tests
27+Depends: @, xvfb, python3-mock, python3-setuptools, python-setuptools, python-distutils-extra, python3-distutils-extra, pep8, pyflakes
28+
29+
30
31=== added file 'debian/tests/run-tests'
32--- debian/tests/run-tests 1970-01-01 00:00:00 +0000
33+++ debian/tests/run-tests 2012-10-31 22:14:21 +0000
34@@ -0,0 +1,7 @@
35+#!/bin/sh
36+
37+set -e
38+
39+python3 setup.py test
40+
41+
42
43=== modified file 'setup.py'
44--- setup.py 2012-07-12 07:31:09 +0000
45+++ setup.py 2012-10-31 22:14:21 +0000
46@@ -1,6 +1,6 @@
47 #!/usr/bin/env python
48
49-from distutils.core import setup
50+from setuptools import setup
51 from DistUtilsExtra.command import build_i18n, build_extra
52
53 setup(
54@@ -13,5 +13,6 @@
55 cmdclass={
56 "build": build_extra.build_extra,
57 "build_i18n": build_i18n.build_i18n,
58- }
59+ },
60+ test_suite="test",
61 )
62
63=== added file 'test/__init__.py'

Subscribers

People subscribed via source and target branches

to all changes: