Merge lp:~jml/zope.testing/subunit-time-always-2 into lp:zope.testing
- subunit-time-always-2
- Merge into trunk
Proposed by
Jonathan Lange
Status: | Merged |
---|---|
Merge reported by: | Benji York |
Merged at revision: | not available |
Proposed branch: | lp:~jml/zope.testing/subunit-time-always-2 |
Merge into: | lp:zope.testing |
Diff against target: |
328 lines (+52/-71) 2 files modified
src/zope/testing/testrunner/formatter.py (+4/-12) src/zope/testing/testrunner/testrunner-subunit.txt (+48/-59) |
To merge this branch: | bzr merge lp:~jml/zope.testing/subunit-time-always-2 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Benji York (community) | Approve | ||
ZTK steering group | Pending | ||
Review via email: mp+30216@code.launchpad.net |
Commit message
Description of the change
This patch causes timestamps to always be included in subunit output.
Since subunit output is for consumption by machines, rather than humans, it doesn't cause any harm. Having the data in the output by default makes zope testrunner much more useful for analyzing test run time.
To post a comment you must log in.
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'src/zope/testing/testrunner/formatter.py' | |||
2 | --- src/zope/testing/testrunner/formatter.py 2010-06-03 16:55:38 +0000 | |||
3 | +++ src/zope/testing/testrunner/formatter.py 2010-07-18 17:43:40 +0000 | |||
4 | @@ -731,10 +731,6 @@ | |||
5 | 731 | self.PLAIN_TEXT = content.ContentType( | 731 | self.PLAIN_TEXT = content.ContentType( |
6 | 732 | 'text', 'plain', {'charset': 'utf8'}) | 732 | 'text', 'plain', {'charset': 'utf8'}) |
7 | 733 | 733 | ||
8 | 734 | @property | ||
9 | 735 | def _time_tests(self): | ||
10 | 736 | return self.verbose > 2 | ||
11 | 737 | |||
12 | 738 | def _emit_timestamp(self, now=None): | 734 | def _emit_timestamp(self, now=None): |
13 | 739 | """Emit a timestamp to the subunit stream. | 735 | """Emit a timestamp to the subunit stream. |
14 | 740 | 736 | ||
15 | @@ -869,8 +865,7 @@ | |||
16 | 869 | The next output operation should be test_success(), test_error(), or | 865 | The next output operation should be test_success(), test_error(), or |
17 | 870 | test_failure(). | 866 | test_failure(). |
18 | 871 | """ | 867 | """ |
21 | 872 | if self._time_tests: | 868 | self._emit_timestamp() |
20 | 873 | self._emit_timestamp() | ||
22 | 874 | # Note that this always emits newlines, so it will function as well as | 869 | # Note that this always emits newlines, so it will function as well as |
23 | 875 | # other start_test implementations if we are running in a subprocess. | 870 | # other start_test implementations if we are running in a subprocess. |
24 | 876 | self._subunit.startTest(test) | 871 | self._subunit.startTest(test) |
25 | @@ -885,8 +880,7 @@ | |||
26 | 885 | self._stream.flush() | 880 | self._stream.flush() |
27 | 886 | 881 | ||
28 | 887 | def test_success(self, test, seconds): | 882 | def test_success(self, test, seconds): |
31 | 888 | if self._time_tests: | 883 | self._emit_timestamp() |
30 | 889 | self._emit_timestamp() | ||
32 | 890 | self._subunit.addSuccess(test) | 884 | self._subunit.addSuccess(test) |
33 | 891 | 885 | ||
34 | 892 | def import_errors(self, import_errors): | 886 | def import_errors(self, import_errors): |
35 | @@ -923,8 +917,7 @@ | |||
36 | 923 | 917 | ||
37 | 924 | The next output operation should be stop_test(). | 918 | The next output operation should be stop_test(). |
38 | 925 | """ | 919 | """ |
41 | 926 | if self._time_tests: | 920 | self._emit_timestamp() |
40 | 927 | self._emit_timestamp() | ||
42 | 928 | details = self._exc_info_to_details(exc_info) | 921 | details = self._exc_info_to_details(exc_info) |
43 | 929 | self._subunit.addError(test, details=details) | 922 | self._subunit.addError(test, details=details) |
44 | 930 | 923 | ||
45 | @@ -935,8 +928,7 @@ | |||
46 | 935 | 928 | ||
47 | 936 | The next output operation should be stop_test(). | 929 | The next output operation should be stop_test(). |
48 | 937 | """ | 930 | """ |
51 | 938 | if self._time_tests: | 931 | self._emit_timestamp() |
50 | 939 | self._emit_timestamp() | ||
52 | 940 | details = self._exc_info_to_details(exc_info) | 932 | details = self._exc_info_to_details(exc_info) |
53 | 941 | self._subunit.addFailure(test, details=details) | 933 | self._subunit.addFailure(test, details=details) |
54 | 942 | 934 | ||
55 | 943 | 935 | ||
56 | === modified file 'src/zope/testing/testrunner/testrunner-subunit.txt' | |||
57 | --- src/zope/testing/testrunner/testrunner-subunit.txt 2010-03-12 14:47:00 +0000 | |||
58 | +++ src/zope/testing/testrunner/testrunner-subunit.txt 2010-07-18 17:43:40 +0000 | |||
59 | @@ -48,65 +48,6 @@ | |||
60 | 48 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | 48 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ |
61 | 49 | successful: samplelayers.Layer122:setUp | 49 | successful: samplelayers.Layer122:setUp |
62 | 50 | tags: zope:layer:samplelayers.Layer122 | 50 | tags: zope:layer:samplelayers.Layer122 |
63 | 51 | test: sample1.sampletests.test122.TestNotMuch.test_1 | ||
64 | 52 | successful: sample1.sampletests.test122.TestNotMuch.test_1 | ||
65 | 53 | test: sample1.sampletests.test122.TestNotMuch.test_2 | ||
66 | 54 | successful: sample1.sampletests.test122.TestNotMuch.test_2 | ||
67 | 55 | test: sample1.sampletests.test122.TestNotMuch.test_3 | ||
68 | 56 | successful: sample1.sampletests.test122.TestNotMuch.test_3 | ||
69 | 57 | test: sampletests.test122.TestNotMuch.test_1 | ||
70 | 58 | successful: sampletests.test122.TestNotMuch.test_1 | ||
71 | 59 | test: sampletests.test122.TestNotMuch.test_2 | ||
72 | 60 | successful: sampletests.test122.TestNotMuch.test_2 | ||
73 | 61 | test: sampletests.test122.TestNotMuch.test_3 | ||
74 | 62 | successful: sampletests.test122.TestNotMuch.test_3 | ||
75 | 63 | tags: -zope:layer:samplelayers.Layer122 | ||
76 | 64 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | ||
77 | 65 | test: samplelayers.Layer122:tearDown | ||
78 | 66 | tags: zope:layer | ||
79 | 67 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | ||
80 | 68 | successful: samplelayers.Layer122:tearDown | ||
81 | 69 | tags: -zope:layer:samplelayers.Layer12 | ||
82 | 70 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | ||
83 | 71 | test: samplelayers.Layer12:tearDown | ||
84 | 72 | tags: zope:layer | ||
85 | 73 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | ||
86 | 74 | successful: samplelayers.Layer12:tearDown | ||
87 | 75 | tags: -zope:layer:samplelayers.Layer1 | ||
88 | 76 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | ||
89 | 77 | test: samplelayers.Layer1:tearDown | ||
90 | 78 | tags: zope:layer | ||
91 | 79 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | ||
92 | 80 | successful: samplelayers.Layer1:tearDown | ||
93 | 81 | False | ||
94 | 82 | |||
95 | 83 | |||
96 | 84 | Timing tests | ||
97 | 85 | ------------ | ||
98 | 86 | |||
99 | 87 | When verbosity is high enough, the subunit stream includes timing information | ||
100 | 88 | for the actual tests, as well as for the layers. | ||
101 | 89 | |||
102 | 90 | >>> sys.argv = 'test --layer 122 -vvv --subunit -t TestNotMuch'.split() | ||
103 | 91 | >>> testrunner.run_internal(defaults) | ||
104 | 92 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | ||
105 | 93 | test: samplelayers.Layer1:setUp | ||
106 | 94 | tags: zope:layer | ||
107 | 95 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | ||
108 | 96 | successful: samplelayers.Layer1:setUp | ||
109 | 97 | tags: zope:layer:samplelayers.Layer1 | ||
110 | 98 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | ||
111 | 99 | test: samplelayers.Layer12:setUp | ||
112 | 100 | tags: zope:layer | ||
113 | 101 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | ||
114 | 102 | successful: samplelayers.Layer12:setUp | ||
115 | 103 | tags: zope:layer:samplelayers.Layer12 | ||
116 | 104 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | ||
117 | 105 | test: samplelayers.Layer122:setUp | ||
118 | 106 | tags: zope:layer | ||
119 | 107 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | ||
120 | 108 | successful: samplelayers.Layer122:setUp | ||
121 | 109 | tags: zope:layer:samplelayers.Layer122 | ||
122 | 110 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | 51 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ |
123 | 111 | test: sample1.sampletests.test122.TestNotMuch.test_1 | 52 | test: sample1.sampletests.test122.TestNotMuch.test_1 |
124 | 112 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | 53 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ |
125 | @@ -229,7 +170,9 @@ | |||
126 | 229 | time: 2010-02-05 15:27:05.113545Z | 170 | time: 2010-02-05 15:27:05.113545Z |
127 | 230 | successful: zope.testing.testrunner.layer.UnitTests:setUp | 171 | successful: zope.testing.testrunner.layer.UnitTests:setUp |
128 | 231 | tags: zope:layer:zope.testing.testrunner.layer.UnitTests | 172 | tags: zope:layer:zope.testing.testrunner.layer.UnitTests |
129 | 173 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | ||
130 | 232 | test: sample2.sampletests_e.eek | 174 | test: sample2.sampletests_e.eek |
131 | 175 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | ||
132 | 233 | failure: sample2.sampletests_e.eek [ multipart | 176 | failure: sample2.sampletests_e.eek [ multipart |
133 | 234 | Content-Type: text/x-traceback;charset=utf8,language=python | 177 | Content-Type: text/x-traceback;charset=utf8,language=python |
134 | 235 | traceback | 178 | traceback |
135 | @@ -257,11 +200,17 @@ | |||
136 | 257 | 0\r | 200 | 0\r |
137 | 258 | <BLANKLINE> | 201 | <BLANKLINE> |
138 | 259 | ] | 202 | ] |
139 | 203 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | ||
140 | 260 | test: sample2.sampletests_e.Test.test1 | 204 | test: sample2.sampletests_e.Test.test1 |
141 | 205 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | ||
142 | 261 | successful: sample2.sampletests_e.Test.test1 | 206 | successful: sample2.sampletests_e.Test.test1 |
143 | 207 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | ||
144 | 262 | test: sample2.sampletests_e.Test.test2 | 208 | test: sample2.sampletests_e.Test.test2 |
145 | 209 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | ||
146 | 263 | successful: sample2.sampletests_e.Test.test2 | 210 | successful: sample2.sampletests_e.Test.test2 |
147 | 211 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | ||
148 | 264 | test: sample2.sampletests_e.Test.test3 | 212 | test: sample2.sampletests_e.Test.test3 |
149 | 213 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | ||
150 | 265 | error: sample2.sampletests_e.Test.test3 [ multipart | 214 | error: sample2.sampletests_e.Test.test3 [ multipart |
151 | 266 | Content-Type: text/x-traceback;charset=utf8,language=python | 215 | Content-Type: text/x-traceback;charset=utf8,language=python |
152 | 267 | traceback | 216 | traceback |
153 | @@ -281,11 +230,17 @@ | |||
154 | 281 | 0\r | 230 | 0\r |
155 | 282 | <BLANKLINE> | 231 | <BLANKLINE> |
156 | 283 | ] | 232 | ] |
157 | 233 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | ||
158 | 284 | test: sample2.sampletests_e.Test.test4 | 234 | test: sample2.sampletests_e.Test.test4 |
159 | 235 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | ||
160 | 285 | successful: sample2.sampletests_e.Test.test4 | 236 | successful: sample2.sampletests_e.Test.test4 |
161 | 237 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | ||
162 | 286 | test: sample2.sampletests_e.Test.test5 | 238 | test: sample2.sampletests_e.Test.test5 |
163 | 239 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | ||
164 | 287 | successful: sample2.sampletests_e.Test.test5 | 240 | successful: sample2.sampletests_e.Test.test5 |
165 | 241 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | ||
166 | 288 | test: e_txt | 242 | test: e_txt |
167 | 243 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | ||
168 | 289 | failure: e_txt [ | 244 | failure: e_txt [ |
169 | 290 | multipart | 245 | multipart |
170 | 291 | Content-Type: text/x-traceback;charset=utf8,language=python | 246 | Content-Type: text/x-traceback;charset=utf8,language=python |
171 | @@ -344,7 +299,9 @@ | |||
172 | 344 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | 299 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ |
173 | 345 | successful: sample2.sampletests_ntd.Layer:setUp | 300 | successful: sample2.sampletests_ntd.Layer:setUp |
174 | 346 | tags: zope:layer:sample2.sampletests_ntd.Layer | 301 | tags: zope:layer:sample2.sampletests_ntd.Layer |
175 | 302 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | ||
176 | 347 | test: sample2.sampletests_ntd.TestSomething.test_something | 303 | test: sample2.sampletests_ntd.TestSomething.test_something |
177 | 304 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | ||
178 | 348 | successful: sample2.sampletests_ntd.TestSomething.test_something | 305 | successful: sample2.sampletests_ntd.TestSomething.test_something |
179 | 349 | tags: -zope:layer:sample2.sampletests_ntd.Layer | 306 | tags: -zope:layer:sample2.sampletests_ntd.Layer |
180 | 350 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | 307 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ |
181 | @@ -434,7 +391,9 @@ | |||
182 | 434 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | 391 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ |
183 | 435 | successful: sample1.sampletests_ntd.Layer:setUp | 392 | successful: sample1.sampletests_ntd.Layer:setUp |
184 | 436 | tags: zope:layer:sample1.sampletests_ntd.Layer | 393 | tags: zope:layer:sample1.sampletests_ntd.Layer |
185 | 394 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | ||
186 | 437 | test: sample1.sampletests_ntd.TestSomething.test_something | 395 | test: sample1.sampletests_ntd.TestSomething.test_something |
187 | 396 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | ||
188 | 438 | successful: sample1.sampletests_ntd.TestSomething.test_something | 397 | successful: sample1.sampletests_ntd.TestSomething.test_something |
189 | 439 | tags: -zope:layer:sample1.sampletests_ntd.Layer | 398 | tags: -zope:layer:sample1.sampletests_ntd.Layer |
190 | 440 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | 399 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ |
191 | @@ -453,7 +412,9 @@ | |||
192 | 453 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | 412 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ |
193 | 454 | successful: sample2.sampletests_ntd.Layer:setUp | 413 | successful: sample2.sampletests_ntd.Layer:setUp |
194 | 455 | tags: zope:layer:sample2.sampletests_ntd.Layer | 414 | tags: zope:layer:sample2.sampletests_ntd.Layer |
195 | 415 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | ||
196 | 456 | test: sample2.sampletests_ntd.TestSomething.test_something | 416 | test: sample2.sampletests_ntd.TestSomething.test_something |
197 | 417 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | ||
198 | 457 | successful: sample2.sampletests_ntd.TestSomething.test_something | 418 | successful: sample2.sampletests_ntd.TestSomething.test_something |
199 | 458 | tags: -zope:layer:sample2.sampletests_ntd.Layer | 419 | tags: -zope:layer:sample2.sampletests_ntd.Layer |
200 | 459 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | 420 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ |
201 | @@ -472,7 +433,9 @@ | |||
202 | 472 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | 433 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ |
203 | 473 | successful: sample3.sampletests_ntd.Layer:setUp | 434 | successful: sample3.sampletests_ntd.Layer:setUp |
204 | 474 | tags: zope:layer:sample3.sampletests_ntd.Layer | 435 | tags: zope:layer:sample3.sampletests_ntd.Layer |
205 | 436 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | ||
206 | 475 | test: sample3.sampletests_ntd.TestSomething.test_error1 | 437 | test: sample3.sampletests_ntd.TestSomething.test_error1 |
207 | 438 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | ||
208 | 476 | error: sample3.sampletests_ntd.TestSomething.test_error1 [ multipart | 439 | error: sample3.sampletests_ntd.TestSomething.test_error1 [ multipart |
209 | 477 | Content-Type: text/x-traceback;charset=utf8,language=python | 440 | Content-Type: text/x-traceback;charset=utf8,language=python |
210 | 478 | traceback | 441 | traceback |
211 | @@ -485,7 +448,9 @@ | |||
212 | 485 | 0\r | 448 | 0\r |
213 | 486 | <BLANKLINE> | 449 | <BLANKLINE> |
214 | 487 | ] | 450 | ] |
215 | 451 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | ||
216 | 488 | test: sample3.sampletests_ntd.TestSomething.test_error2 | 452 | test: sample3.sampletests_ntd.TestSomething.test_error2 |
217 | 453 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | ||
218 | 489 | error: sample3.sampletests_ntd.TestSomething.test_error2 [ multipart | 454 | error: sample3.sampletests_ntd.TestSomething.test_error2 [ multipart |
219 | 490 | Content-Type: text/x-traceback;charset=utf8,language=python | 455 | Content-Type: text/x-traceback;charset=utf8,language=python |
220 | 491 | traceback | 456 | traceback |
221 | @@ -498,7 +463,9 @@ | |||
222 | 498 | 0\r | 463 | 0\r |
223 | 499 | <BLANKLINE> | 464 | <BLANKLINE> |
224 | 500 | ] | 465 | ] |
225 | 466 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | ||
226 | 501 | test: sample3.sampletests_ntd.TestSomething.test_fail1 | 467 | test: sample3.sampletests_ntd.TestSomething.test_fail1 |
227 | 468 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | ||
228 | 502 | failure: sample3.sampletests_ntd.TestSomething.test_fail1 [ multipart | 469 | failure: sample3.sampletests_ntd.TestSomething.test_fail1 [ multipart |
229 | 503 | Content-Type: text/x-traceback;charset=utf8,language=python | 470 | Content-Type: text/x-traceback;charset=utf8,language=python |
230 | 504 | traceback | 471 | traceback |
231 | @@ -511,7 +478,9 @@ | |||
232 | 511 | 0\r | 478 | 0\r |
233 | 512 | <BLANKLINE> | 479 | <BLANKLINE> |
234 | 513 | ] | 480 | ] |
235 | 481 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | ||
236 | 514 | test: sample3.sampletests_ntd.TestSomething.test_fail2 | 482 | test: sample3.sampletests_ntd.TestSomething.test_fail2 |
237 | 483 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | ||
238 | 515 | failure: sample3.sampletests_ntd.TestSomething.test_fail2 [ multipart | 484 | failure: sample3.sampletests_ntd.TestSomething.test_fail2 [ multipart |
239 | 516 | Content-Type: text/x-traceback;charset=utf8,language=python | 485 | Content-Type: text/x-traceback;charset=utf8,language=python |
240 | 517 | traceback | 486 | traceback |
241 | @@ -524,9 +493,13 @@ | |||
242 | 524 | 0\r | 493 | 0\r |
243 | 525 | <BLANKLINE> | 494 | <BLANKLINE> |
244 | 526 | ] | 495 | ] |
245 | 496 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | ||
246 | 527 | test: sample3.sampletests_ntd.TestSomething.test_something | 497 | test: sample3.sampletests_ntd.TestSomething.test_something |
247 | 498 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | ||
248 | 528 | successful: sample3.sampletests_ntd.TestSomething.test_something | 499 | successful: sample3.sampletests_ntd.TestSomething.test_something |
249 | 500 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | ||
250 | 529 | test: sample3.sampletests_ntd.TestSomething.test_something_else | 501 | test: sample3.sampletests_ntd.TestSomething.test_something_else |
251 | 502 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | ||
252 | 530 | successful: sample3.sampletests_ntd.TestSomething.test_something_else | 503 | successful: sample3.sampletests_ntd.TestSomething.test_something_else |
253 | 531 | tags: -zope:layer:sample3.sampletests_ntd.Layer | 504 | tags: -zope:layer:sample3.sampletests_ntd.Layer |
254 | 532 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | 505 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ |
255 | @@ -549,7 +522,9 @@ | |||
256 | 549 | time: 2010-02-10 22:41:25.279695Z | 522 | time: 2010-02-10 22:41:25.279695Z |
257 | 550 | successful: sample1.sampletests_ntd.Layer:setUp | 523 | successful: sample1.sampletests_ntd.Layer:setUp |
258 | 551 | tags: zope:layer:sample1.sampletests_ntd.Layer | 524 | tags: zope:layer:sample1.sampletests_ntd.Layer |
259 | 525 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | ||
260 | 552 | test: sample1.sampletests_ntd.TestSomething.test_something | 526 | test: sample1.sampletests_ntd.TestSomething.test_something |
261 | 527 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | ||
262 | 553 | successful: sample1.sampletests_ntd.TestSomething.test_something | 528 | successful: sample1.sampletests_ntd.TestSomething.test_something |
263 | 554 | tags: -zope:layer:sample1.sampletests_ntd.Layer | 529 | tags: -zope:layer:sample1.sampletests_ntd.Layer |
264 | 555 | time: 2010-02-10 22:41:25.310078Z | 530 | time: 2010-02-10 22:41:25.310078Z |
265 | @@ -568,7 +543,9 @@ | |||
266 | 568 | time: 2010-02-10 22:41:25.753079Z | 543 | time: 2010-02-10 22:41:25.753079Z |
267 | 569 | successful: sample2.sampletests_ntd.Layer:setUp | 544 | successful: sample2.sampletests_ntd.Layer:setUp |
268 | 570 | tags: zope:layer:sample2.sampletests_ntd.Layer | 545 | tags: zope:layer:sample2.sampletests_ntd.Layer |
269 | 546 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | ||
270 | 571 | test: sample2.sampletests_ntd.TestSomething.test_something | 547 | test: sample2.sampletests_ntd.TestSomething.test_something |
271 | 548 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | ||
272 | 572 | successful: sample2.sampletests_ntd.TestSomething.test_something | 549 | successful: sample2.sampletests_ntd.TestSomething.test_something |
273 | 573 | tags: -zope:layer:sample2.sampletests_ntd.Layer | 550 | tags: -zope:layer:sample2.sampletests_ntd.Layer |
274 | 574 | time: 2010-02-10 22:41:25.779256Z | 551 | time: 2010-02-10 22:41:25.779256Z |
275 | @@ -587,7 +564,9 @@ | |||
276 | 587 | time: 2010-02-10 22:41:26.310299Z | 564 | time: 2010-02-10 22:41:26.310299Z |
277 | 588 | successful: sample3.sampletests_ntd.Layer:setUp | 565 | successful: sample3.sampletests_ntd.Layer:setUp |
278 | 589 | tags: zope:layer:sample3.sampletests_ntd.Layer | 566 | tags: zope:layer:sample3.sampletests_ntd.Layer |
279 | 567 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | ||
280 | 590 | test: sample3.sampletests_ntd.TestSomething.test_error1 | 568 | test: sample3.sampletests_ntd.TestSomething.test_error1 |
281 | 569 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | ||
282 | 591 | error: sample3.sampletests_ntd.TestSomething.test_error1 [ multipart | 570 | error: sample3.sampletests_ntd.TestSomething.test_error1 [ multipart |
283 | 592 | Content-Type: text/x-traceback;charset=utf8,language=python | 571 | Content-Type: text/x-traceback;charset=utf8,language=python |
284 | 593 | traceback | 572 | traceback |
285 | @@ -605,7 +584,9 @@ | |||
286 | 605 | test: Can't post-mortem debug when running a layer as a subprocess! | 584 | test: Can't post-mortem debug when running a layer as a subprocess! |
287 | 606 | tags: zope:error_with_banner | 585 | tags: zope:error_with_banner |
288 | 607 | successful: Can't post-mortem debug when running a layer as a subprocess! | 586 | successful: Can't post-mortem debug when running a layer as a subprocess! |
289 | 587 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | ||
290 | 608 | test: sample3.sampletests_ntd.TestSomething.test_error2 | 588 | test: sample3.sampletests_ntd.TestSomething.test_error2 |
291 | 589 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | ||
292 | 609 | error: sample3.sampletests_ntd.TestSomething.test_error2 [ multipart | 590 | error: sample3.sampletests_ntd.TestSomething.test_error2 [ multipart |
293 | 610 | Content-Type: text/x-traceback;charset=utf8,language=python | 591 | Content-Type: text/x-traceback;charset=utf8,language=python |
294 | 611 | traceback | 592 | traceback |
295 | @@ -623,7 +604,9 @@ | |||
296 | 623 | test: Can't post-mortem debug when running a layer as a subprocess! | 604 | test: Can't post-mortem debug when running a layer as a subprocess! |
297 | 624 | tags: zope:error_with_banner | 605 | tags: zope:error_with_banner |
298 | 625 | successful: Can't post-mortem debug when running a layer as a subprocess! | 606 | successful: Can't post-mortem debug when running a layer as a subprocess! |
299 | 607 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | ||
300 | 626 | test: sample3.sampletests_ntd.TestSomething.test_fail1 | 608 | test: sample3.sampletests_ntd.TestSomething.test_fail1 |
301 | 609 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | ||
302 | 627 | error: sample3.sampletests_ntd.TestSomething.test_fail1 [ multipart | 610 | error: sample3.sampletests_ntd.TestSomething.test_fail1 [ multipart |
303 | 628 | Content-Type: text/x-traceback;charset=utf8,language=python | 611 | Content-Type: text/x-traceback;charset=utf8,language=python |
304 | 629 | traceback | 612 | traceback |
305 | @@ -643,7 +626,9 @@ | |||
306 | 643 | test: Can't post-mortem debug when running a layer as a subprocess! | 626 | test: Can't post-mortem debug when running a layer as a subprocess! |
307 | 644 | tags: zope:error_with_banner | 627 | tags: zope:error_with_banner |
308 | 645 | successful: Can't post-mortem debug when running a layer as a subprocess! | 628 | successful: Can't post-mortem debug when running a layer as a subprocess! |
309 | 629 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | ||
310 | 646 | test: sample3.sampletests_ntd.TestSomething.test_fail2 | 630 | test: sample3.sampletests_ntd.TestSomething.test_fail2 |
311 | 631 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | ||
312 | 647 | error: sample3.sampletests_ntd.TestSomething.test_fail2 [ multipart | 632 | error: sample3.sampletests_ntd.TestSomething.test_fail2 [ multipart |
313 | 648 | Content-Type: text/x-traceback;charset=utf8,language=python | 633 | Content-Type: text/x-traceback;charset=utf8,language=python |
314 | 649 | traceback | 634 | traceback |
315 | @@ -663,9 +648,13 @@ | |||
316 | 663 | test: Can't post-mortem debug when running a layer as a subprocess! | 648 | test: Can't post-mortem debug when running a layer as a subprocess! |
317 | 664 | tags: zope:error_with_banner | 649 | tags: zope:error_with_banner |
318 | 665 | successful: Can't post-mortem debug when running a layer as a subprocess! | 650 | successful: Can't post-mortem debug when running a layer as a subprocess! |
319 | 651 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | ||
320 | 666 | test: sample3.sampletests_ntd.TestSomething.test_something | 652 | test: sample3.sampletests_ntd.TestSomething.test_something |
321 | 653 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | ||
322 | 667 | successful: sample3.sampletests_ntd.TestSomething.test_something | 654 | successful: sample3.sampletests_ntd.TestSomething.test_something |
323 | 655 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | ||
324 | 668 | test: sample3.sampletests_ntd.TestSomething.test_something_else | 656 | test: sample3.sampletests_ntd.TestSomething.test_something_else |
325 | 657 | time: YYYY-MM-DD HH:MM:SS.mmmmmmZ | ||
326 | 669 | successful: sample3.sampletests_ntd.TestSomething.test_something_else | 658 | successful: sample3.sampletests_ntd.TestSomething.test_something_else |
327 | 670 | tags: -zope:layer:sample3.sampletests_ntd.Layer | 659 | tags: -zope:layer:sample3.sampletests_ntd.Layer |
328 | 671 | time: 2010-02-10 22:41:26.340878Z | 660 | time: 2010-02-10 22:41:26.340878Z |
Looks good. Committed in r114849.