fijal
c2d010ad92
[svn r40753] Make MAX_COUNTER small enough. It's an obscure hack, but at least works
...
--HG--
branch : trunk
2007-03-19 11:43:49 +01:00
fijal
ae3e6b9bf0
[svn r40739] Make FAILED TO LOAD MODULE clickable
...
--HG--
branch : trunk
2007-03-18 23:53:14 +01:00
fijal
f6980c4b9d
[svn r40738] Count also FAILED TO LOAD MODULE failures in web interface
...
--HG--
branch : trunk
2007-03-18 23:44:54 +01:00
fijal
3943673739
[svn r40737] A fix that allows (for command line reporter) to report failure in case
...
when FAILED TO LOAD MODULE
--HG--
branch : trunk
2007-03-18 23:38:57 +01:00
arigo
5506b03f81
[svn r40702] (pedronis, arigo)
...
Add setup/teardown calls around generators, with the same semantics as
around functions and methods.
--HG--
branch : trunk
2007-03-18 16:59:45 +01:00
fijal
34a4991edd
[svn r39995] Possibly controversial checkin.
...
Kill a hack for explicit isinstance(). We've got just two methods,
so doing full getmro doesn't seem to make too much sense.
Anyway this changes semantics slightly, so now we rely on exact
inheritance rather than name (I don't have good answer for those)
--HG--
branch : trunk
2007-03-06 19:06:37 +01:00
fijal
2cd886f442
[svn r39340] A fix and a test. Thanks Marian Shubert for reporting problem
...
--HG--
branch : trunk
2007-02-23 15:22:50 +01:00
hpk
f12b95ff5a
[svn r38760] fix ehem syntax ehem error
...
--HG--
branch : trunk
2007-02-13 21:40:29 +01:00
hpk
a3dd6dfd7c
[svn r38755] fix reporting of duplicate remote host rsyncs
...
and adding an XXX test (not easy to test ssh hosts
because it modifies remote state)
--HG--
branch : trunk
2007-02-13 21:09:25 +01:00
fijal
87aabe079e
[svn r38749] Regenerated js
...
--HG--
branch : trunk
2007-02-13 20:30:19 +01:00
hpk
3ab95e5672
[svn r38747] hum, a last-minute namespace change: i missed
...
that fijal didn't move py.test.Item|Function to the py.test.collect namespace
at the time. a pypy fix will follow shortly after i merged the dist.
--HG--
branch : trunk
2007-02-13 20:21:53 +01:00
fijal
614675743d
[svn r38726] shuffle -> sample
...
--HG--
branch : trunk
2007-02-13 17:37:26 +01:00
fijal
97a82f2df2
[svn r38713] Use self.source wherever applicable
...
--HG--
branch : trunk
2007-02-13 16:34:16 +01:00
fijal
de57df5134
[svn r38712] Avoid py.test.config._reparse([])
...
--HG--
branch : trunk
2007-02-13 16:32:49 +01:00
fijal
a38f606825
[svn r38711] Avoid infinte recursion when rsyncing (well finite - OSError file too long)
...
--HG--
branch : trunk
2007-02-13 16:31:31 +01:00
fijal
44337db211
[svn r38710] Invoke the skip rather than have it
...
--HG--
branch : trunk
2007-02-13 16:24:33 +01:00
fijal
f149de635c
[svn r38709] kill dead code
...
--HG--
branch : trunk
2007-02-13 16:24:08 +01:00
fijal
db6df474fe
[svn r38708] document.location is not in DOM. We need to implemented some stuff in
...
js backend to be able to test this
--HG--
branch : trunk
2007-02-13 16:15:26 +01:00
hpk
a992ca7427
[svn r38706] privatizing config.conftest to config._conftest as well
...
--HG--
branch : trunk
2007-02-13 16:05:21 +01:00
fijal
53c204962a
[svn r38577] Test for explicit Failed
...
--HG--
branch : trunk
2007-02-12 16:40:04 +01:00
fijal
ba07ab5533
[svn r38576] typo!
...
--HG--
branch : trunk
2007-02-12 16:30:32 +01:00
fijal
de078273a0
[svn r38574] Special case outcome.Failed - reuse that excinfo
...
--HG--
branch : trunk
2007-02-12 16:28:28 +01:00
fijal
6210030d27
[svn r38573] This tests was completely broken when pypy is there
...
--HG--
branch : trunk
2007-02-12 16:28:09 +01:00
fijal
cb87cd42cc
[svn r38572] Move a bit into using high-level traceback interface instead of low-level one
...
--HG--
branch : trunk
2007-02-12 16:27:46 +01:00
hpk
a43ff3108f
[svn r38568] improving r38560 a bit
...
--HG--
branch : trunk
2007-02-12 15:58:14 +01:00
fijal
6294a4b189
[svn r38560] Compare collectors by id rather than by name. It needs to be rethought
...
a bit.
--HG--
branch : trunk
2007-02-12 14:20:49 +01:00
fijal
d01fb4a18e
[svn r38559] Give info about tests in case of failure/interruption
...
--HG--
branch : trunk
2007-02-12 14:14:36 +01:00
hpk
d1008d3752
[svn r38549] also privatizing Config.initdirect (which relates to remote reprs and such)
...
--HG--
branch : trunk
2007-02-12 13:21:16 +01:00
hpk
5d36fbf365
[svn r38548] carefully privatizing Config.make_repr and Config.merge_repr
...
by doing a whole-pylib replace and reviewing the diff in detail
--HG--
branch : trunk
2007-02-12 13:18:23 +01:00
hpk
00c7ccfaa0
[svn r38508] skip signal detection tests for python < 2.4
...
(2.4 and 2.5 work apparently)
--HG--
branch : trunk
2007-02-11 19:56:08 +01:00
hpk
ff9df3c079
[svn r38506] config.getvalue_pathlist should also honour option values
...
(to be uniform with getvalue semantics)
--HG--
branch : trunk
2007-02-11 19:47:04 +01:00
hpk
7973f472d7
[svn r38505] clarify that config.getvalue will first lookup
...
in options.
--HG--
branch : trunk
2007-02-11 19:43:34 +01:00
hpk
14ad83da06
[svn r38496] don't print the test-mode, that needs more thought how
...
to do it now
--HG--
branch : trunk
2007-02-11 19:01:19 +01:00
hpk
bda58e9862
[svn r38484] make config.option override any conftest provided value.
...
--HG--
branch : trunk
2007-02-11 18:08:13 +01:00
hpk
5c000e57f1
[svn r38474] make io capturing configurable per e.g.
...
conf_iocapture = "sys"
by default it has "fd" for performing fd-based capturing
--HG--
branch : trunk
2007-02-11 17:25:01 +01:00
hpk
22d98ac3a1
[svn r38460] removing a very-likely-obsolete test
...
and otherwise fixing files and tests
to do py.test.skip()s only during setup.
--HG--
branch : trunk
2007-02-11 14:46:46 +01:00
hpk
e068a463a1
[svn r38459] two functions with the same name, use the latter one.
...
--HG--
branch : trunk
2007-02-11 14:45:49 +01:00
guido
ac5c05b688
[svn r38438] Rolling back r38422 and part of r38397 because it made that a lot of stuff was
...
printed to stdout/err.
--HG--
branch : trunk
2007-02-11 02:54:22 +01:00
fijal
7dd0491764
[svn r38422] Argh. Forgotten to check that in
...
--HG--
branch : trunk
2007-02-10 22:56:23 +01:00
hpk
1095cec0dc
[svn r38398] for setup/teardown pairs the correct idiom is
...
setup()
try:
...
finally:
teardown()
and not to do the setup() within the try,
because if that raises, teardown() will
likely go wrong as well etc.
--HG--
branch : trunk
2007-02-10 18:00:58 +01:00
fijal
1739ba4f55
[svn r38397] Kill PidInfo and make boxing optional for distributed testing.
...
This should make dist testing on windows possible.
--HG--
branch : trunk
2007-02-10 17:50:47 +01:00
hpk
e280dfe1f0
[svn r38392] looponfailing tricked me into committing too early
...
(syntax error, bah)
--HG--
branch : trunk
2007-02-10 16:07:30 +01:00
hpk
bc009c4aef
[svn r38391] check more exactly if we are working
...
from a default rsync_root (checking
for rsync_root == topdir is not safe
as the topdir may be explicitely contained
in the rsync_root list)
--HG--
branch : trunk
2007-02-10 16:05:32 +01:00
hpk
d3e2c68e03
[svn r38390] refining the logic: for inplace-localhosts ("optimized localhost")
...
we do not add any relative path.
--HG--
branch : trunk
2007-02-10 15:51:25 +01:00
hpk
fa94900836
[svn r38389] completing the picture: now if you don't have rsync_roots
...
specified, the config.topdir is transfered but it is
transferred to the "remotepath.join(topdir.basename)"
(not actual code) to avoid random such rsyncs to
destroy/affect remote filesystem state.
--HG--
branch : trunk
2007-02-10 15:45:41 +01:00
hpk
e11e7472bc
[svn r38378] snapshot commit for: each rsync root is now copied to
...
remote-topdir.join(root.basename)
--HG--
branch : trunk
2007-02-10 14:21:26 +01:00
hpk
e04e08718f
[svn r38352] made localhost inplace handling safer (and more
...
redundant, there is an additional flag now,
and host.gw_remotepath is None for localhost-inplace
hosts)
--HG--
branch : trunk
2007-02-10 09:52:22 +01:00
fijal
0d6d17dc96
[svn r38302] Kill _dist_import_pypy
...
--HG--
branch : trunk
2007-02-09 19:33:00 +01:00
fijal
aa4896fa04
[svn r38249] It seems that there was somehow different idea in mind, but I actually
...
do not get it.
Right now there is no way to override default session other than
from py.__.test import config; config.TerminalSession = 'name_to_import'
which is scary. Holger please take a look.
--HG--
branch : trunk
2007-02-09 14:24:08 +01:00
hpk
828ef252d0
[svn r38219] looponfailing and exec are not so experimental
...
--HG--
branch : trunk
2007-02-09 00:38:07 +01:00