[svn r63195] * fix rsyncdir usages all around
* rename looponfailing to looponfail --HG-- branch : trunk
This commit is contained in:
@@ -115,7 +115,7 @@ def slave_runsession(channel, config, fullwidth, hasmarkup):
|
||||
|
||||
DEBUG("SLAVE: received configuration, using topdir:", config.topdir)
|
||||
#config.option.session = None
|
||||
config.option.looponfailing = False
|
||||
config.option.looponfail = False
|
||||
config.option.usepdb = False
|
||||
trails = channel.receive()
|
||||
config.pytestplugins.do_configure(config)
|
||||
@@ -150,5 +150,5 @@ def slave_runsession(channel, config, fullwidth, hasmarkup):
|
||||
DEBUG("SLAVE: starting session.main()")
|
||||
session.main(colitems)
|
||||
ev = event.LooponfailingInfo(list(failreports), [config.topdir])
|
||||
session.bus.notify("looponfailinginfo", ev)
|
||||
session.bus.notify("looponfailinfo", ev)
|
||||
channel.send([x.colitem._totrail() for x in failreports if x.failed])
|
||||
|
||||
@@ -46,7 +46,7 @@ class TestRemoteControl:
|
||||
assert str(failures).find("test_new") != -1
|
||||
|
||||
class TestLooponFailing:
|
||||
def test_looponfailing_from_fail_to_ok(self, testdir):
|
||||
def test_looponfail_from_fail_to_ok(self, testdir):
|
||||
modcol = testdir.getmodulecol("""
|
||||
def test_one():
|
||||
x = 0
|
||||
@@ -71,7 +71,7 @@ class TestLooponFailing:
|
||||
session.loop_once(loopstate)
|
||||
assert not loopstate.colitems
|
||||
|
||||
def test_looponfailing_from_one_to_two_tests(self, testdir):
|
||||
def test_looponfail_from_one_to_two_tests(self, testdir):
|
||||
modcol = testdir.getmodulecol("""
|
||||
def test_one():
|
||||
assert 0
|
||||
@@ -96,7 +96,7 @@ class TestLooponFailing:
|
||||
session.loop_once(loopstate)
|
||||
assert len(loopstate.colitems) == 1
|
||||
|
||||
def test_looponfailing_removed_test(self, testdir):
|
||||
def test_looponfail_removed_test(self, testdir):
|
||||
modcol = testdir.getmodulecol("""
|
||||
def test_one():
|
||||
assert 0
|
||||
|
||||
Reference in New Issue
Block a user