← Back to team overview

duplicity-team team mailing list archive

[Merge] lp:~aaron-whitehouse/duplicity/launchpad_tox_profile into lp:duplicity

 

Aaron Whitehouse has proposed merging lp:~aaron-whitehouse/duplicity/launchpad_tox_profile into lp:duplicity.

Commit message:
Add tox testing profile that mimics the packages installed on the Launchpad build server, to reduce the likelihood of tests passing our test suite, but failing on the build server (e.g. because of the out-of-date mock version).

Requested reviews:
  duplicity-team (duplicity-team)

For more details, see:
https://code.launchpad.net/~aaron-whitehouse/duplicity/launchpad_tox_profile/+merge/266859

Add tox testing profile that mimics the packages installed on the Launchpad build server, to reduce the likelihood of tests passing our test suite, but failing on the build server (e.g. because of the out-of-date mock version).
-- 
Your team duplicity-team is requested to review the proposed merge of lp:~aaron-whitehouse/duplicity/launchpad_tox_profile into lp:duplicity.
=== modified file 'README-REPO'
--- README-REPO	2015-08-01 12:05:34 +0000
+++ README-REPO	2015-08-04 11:27:37 +0000
@@ -69,10 +69,13 @@
 
 Duplicity currently supports Python versions v2.6 or later. Duplicity uses tox
 to make it easy to test your code against multiple Python versions. Running
-tests using the commands above will automatically test code against
-both Python v2.6 and v2.7, if you have both installed on your system.
+tests using the commands above will automatically test code against both
+Python v2.6 and v2.7, if you have both installed on your system. It will also
+test against the versions of dependencies used by the Launchpad build system.
+You can test against a single environment, e.g.
+tox -e py26
+for example if you are working on fixing a bug, but please do a full run-tests
+before submitting a merge request.
 
 For instructions on installing Python v2.6 on newer versions of Ubuntu, see
 https://launchpad.net/~fkrull/+archive/ubuntu/deadsnakes
-
-

=== modified file 'po/duplicity.pot'
--- po/duplicity.pot	2015-08-03 12:25:22 +0000
+++ po/duplicity.pot	2015-08-04 11:27:37 +0000
@@ -8,7 +8,7 @@
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: Kenneth Loafman <kenneth@xxxxxxxxxxx>\n"
-"POT-Creation-Date: 2015-08-02 06:35-0500\n"
+"POT-Creation-Date: 2015-08-04 11:30+0100\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@xxxxxx>\n"

=== modified file 'tox.ini'
--- tox.ini	2015-07-31 14:49:46 +0000
+++ tox.ini	2015-08-04 11:27:37 +0000
@@ -1,5 +1,12 @@
 [tox]
-envlist=py26,py27
+envlist=py26,py27,lpbuildd
+
+[testenv:lpbuildd]
+deps=
+    lockfile==0.8
+    mock==0.7.2
+    pexpect==2.4
+    python==2.7
 
 [testenv]
 setenv=


Follow ups