1 new commit in tox:
https://bitbucket.org/hpk42/tox/commits/1c746939df7f/
Changeset: 1c746939df7f
User: lukaszb
Date: 2013-05-09 19:52:25
Summary: Show full command that is being run during tests
Affected #: 2 files
diff -r 8dd1345f8c327a471adc09695823df668f9e23a4 -r
1c746939df7f57bae11fe81010446d5c8dc3dae6 tests/test_venv.py
--- a/tests/test_venv.py
+++ b/tests/test_venv.py
@@ -262,6 +262,16 @@
venv.update()
mocksession.report.expect("verbosity0", "*recreate*")
+def test_test_runtests_action_command_is_in_output(newmocksession):
+ mocksession = newmocksession([], '''
+ [testenv]
+ commands = echo foo bar
+ ''')
+ venv = mocksession.getenv('python')
+ venv.update()
+ venv.test()
+ mocksession.report.expect("verbosity0", "*runtests*commands?0? | echo foo
bar")
+
def test_install_error(newmocksession, monkeypatch):
mocksession = newmocksession(['--recreate'], """
[testenv]
diff -r 8dd1345f8c327a471adc09695823df668f9e23a4 -r
1c746939df7f57bae11fe81010446d5c8dc3dae6 tox/_venv.py
--- a/tox/_venv.py
+++ b/tox/_venv.py
@@ -269,7 +269,8 @@
self.session.make_emptydir(self.envconfig.envtmpdir)
cwd = self.envconfig.changedir
for i, argv in enumerate(self.envconfig.commands):
- action.setactivity("runtests", "commands[%s]" % i)
+ message = "commands[%s] | %s" % (i, ' '.join(argv))
+ action.setactivity("runtests", message)
try:
self._pcall(argv, cwd=cwd, action=action,
redirect=redirect)
except tox.exception.InvocationError:
Repository URL: https://bitbucket.org/hpk42/tox/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
_______________________________________________
pytest-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pytest-commit