From 7116c83c4a755059831adf14f6adb38d556554e3 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Fri, 5 Apr 2013 13:13:33 -0400 Subject: [PATCH] Standardize test output --- test/TestInventory.py | 2 +- test/TestRunner.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/TestInventory.py b/test/TestInventory.py index 55706bba6b..9db3a15d45 100644 --- a/test/TestInventory.py +++ b/test/TestInventory.py @@ -276,7 +276,7 @@ class TestInventory(unittest.TestCase): 'inventory_hostname_short': 'thor'} def test_hosts_list(self): - """Test the case when playbook 'hosts' var is a list.""" + # Test the case when playbook 'hosts' var is a list. inventory = self.script_inventory() host_names = sorted(['thor', 'loki', 'odin']) # Not sure if sorting is in the contract or not actual_hosts = inventory.get_hosts(host_names) diff --git a/test/TestRunner.py b/test/TestRunner.py index ac24396410..99f1598135 100644 --- a/test/TestRunner.py +++ b/test/TestRunner.py @@ -290,7 +290,7 @@ class TestRunner(unittest.TestCase): assert result['changed'] is False def test_lineinfile(self): - """Unit tests for the lineinfile module, without backref features.""" + # Unit tests for the lineinfile module, without backref features. sampleroot = 'rocannon' sample_origin = self._get_test_file(sampleroot + '.txt') sample = self._get_stage_file(sampleroot + '.out' + '.txt') @@ -447,7 +447,7 @@ class TestRunner(unittest.TestCase): os.unlink(sample) def test_lineinfile_backrefs(self): - """Unit tests for the lineinfile module, with backref features.""" + # Unit tests for the lineinfile module, with backref features. sampleroot = 'rocannon' sample_origin = self._get_test_file(sampleroot + '.txt') origin_lines = [line.strip() for line in open(sample_origin)]