Merge lp:~jayvdb/testscenarios/0.4 into lp:~testtools-committers/testscenarios/trunk

Proposed by John Vandenberg
Status: Merged
Merge reported by: Robert Collins
Merged at revision: not available
Proposed branch: lp:~jayvdb/testscenarios/0.4
Merge into: lp:~testtools-committers/testscenarios/trunk
Prerequisite: lp:~chipaca/testscenarios/fix-with-py3
Diff against target: 115 lines (+23/-17)
4 files modified
NEWS (+14/-11)
lib/testscenarios/__init__.py (+1/-1)
lib/testscenarios/scenarios.py (+1/-1)
setup.py (+7/-4)
To merge this branch: bzr merge lp:~jayvdb/testscenarios/0.4
Reviewer Review Type Date Requested Status
testtools committers Pending
Review via email: mp+257473@code.launchpad.net

Description of the change

Brings launchpad version up to date with released version.

To post a comment you must log in.
Revision history for this message
Robert Collins (lifeless) wrote :

I've pushed up a pypy release snapshot, no idea why it wasn't in bzr before.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'NEWS'
2--- NEWS 2012-04-04 10:46:52 +0000
3+++ NEWS 2015-04-26 04:47:16 +0000
4@@ -6,10 +6,19 @@
5 IN DEVELOPMENT
6 ~~~~~~~~~~~~~~
7
8+0.4
9+~~~
10+
11+IMPROVEMENTS
12+------------
13+
14+* Python 3.2 support added. (Robert Collins)
15+
16 0.3
17 ~~~
18
19-CHANGES:
20+CHANGES
21+-------
22
23 * New function ``per_module_scenarios`` for tests that should be applied across
24 multiple modules providing the same interface, some of which may not be
25@@ -22,7 +31,8 @@
26 0.2
27 ~~~
28
29-CHANGES:
30+CHANGES
31+-------
32
33 * Adjust the cloned tests ``shortDescription`` if one is present. (Ben Finney)
34
35@@ -32,7 +42,8 @@
36 0.1
37 ~~~
38
39-CHANGES:
40+CHANGES
41+-------
42
43 * Created project. The primary interfaces are
44 ``testscenarios.TestWithScenarios`` and
45@@ -43,11 +54,3 @@
46 Also various presentation and language touchups. (Martin Pool)
47 (Adjusted to use doctest directly, and to not print the demo runners
48 output to stderror during make check - Robert Collins)
49-
50-IMPROVEMENTS:
51-
52-BUG FIXES:
53-
54-API CHANGES:
55-
56-INTERNALS:
57
58=== modified file 'lib/testscenarios/__init__.py'
59--- lib/testscenarios/__init__.py 2012-04-04 10:46:52 +0000
60+++ lib/testscenarios/__init__.py 2015-04-26 04:47:16 +0000
61@@ -38,7 +38,7 @@
62 # established at this point, and setup.py will use a version of next-$(revno).
63 # If the releaselevel is 'final', then the tarball will be major.minor.micro.
64 # Otherwise it is major.minor.micro~$(revno).
65-__version__ = (0, 3, 0, 'final', 0)
66+__version__ = (0, 4, 0, 'final', 0)
67
68 __all__ = [
69 'TestWithScenarios',
70
71=== modified file 'lib/testscenarios/scenarios.py'
72--- lib/testscenarios/scenarios.py 2015-04-26 04:47:16 +0000
73+++ lib/testscenarios/scenarios.py 2015-04-26 04:47:16 +0000
74@@ -43,7 +43,7 @@
75 :param test: The test to apply the scenario to. This test is unaltered.
76 :return: A new test cloned from test, with the scenario applied.
77 """
78- (name, parameters) = scenario
79+ name, parameters = scenario
80 scenario_suffix = '(' + name + ')'
81 newtest = clone_test_with_new_id(test,
82 test.id() + scenario_suffix)
83
84=== modified file 'setup.py'
85--- setup.py 2015-04-26 04:47:16 +0000
86+++ setup.py 2015-04-26 04:47:16 +0000
87@@ -1,13 +1,12 @@
88 #!/usr/bin/env python
89
90-from distutils.core import setup
91+from setuptools import setup
92 import os.path
93
94-description = open(os.path.join(os.path.dirname(__file__),
95- 'README'), 'rb').read().decode("utf-8")
96+description = open(os.path.join(os.path.dirname(__file__), 'README'), 'rt').read()
97
98 setup(name="testscenarios",
99- version="0.3",
100+ version="0.4",
101 description="Testscenarios, a pyunit extension for dependency injection",
102 long_description=description,
103 maintainer="Robert Collins",
104@@ -22,7 +21,11 @@
105 'License :: OSI Approved :: Apache Software License',
106 'Operating System :: OS Independent',
107 'Programming Language :: Python',
108+ 'Programming Language :: Python :: 3',
109 'Topic :: Software Development :: Quality Assurance',
110 'Topic :: Software Development :: Testing',
111 ],
112+ install_requires = [
113+ 'testtools',
114+ ]
115 )

Subscribers

People subscribed via source and target branches