← Back to team overview

cloud-init-dev team mailing list archive

[Merge] ~chad.smith/cloud-init:cleanup/test-failures-print-testname into cloud-init:master

 

The proposal to merge ~chad.smith/cloud-init:cleanup/test-failures-print-testname into cloud-init:master has been updated.

Description changed to:

to  validate: 

Add a failed assertion to some test and  run tox -e py27 tests/unittests/test_log.py with and without this merge proposal.
See the docstring of the test on master and the failed test name test_logger_uses_gmtime


diff --git a/tests/unittests/test_log.py b/tests/unittests/test_log.py
index cd6296d..6802ab5 100644
--- a/tests/unittests/test_log.py
+++ b/tests/unittests/test_log.py
@@ -29,6 +29,7 @@ class TestCloudInitLogger(CiTestCase):
 
     def test_logger_uses_gmtime(self):
         """Test that log message have timestamp in UTC (gmtime)"""
+        assert 0
 
         # Log a message, extract the timestamp from the log entry
         # convert to datetime, and compare to a utc timestamp before


For more details, see:
https://code.launchpad.net/~chad.smith/cloud-init/+git/cloud-init/+merge/354273
-- 
Your team cloud-init commiters is requested to review the proposed merge of ~chad.smith/cloud-init:cleanup/test-failures-print-testname into cloud-init:master.


References