Skip to content

Commit

Permalink
Add docstrings
Browse files Browse the repository at this point in the history
Signed-off-by: Petr Hracek <phracek@redhat.com>
  • Loading branch information
phracek committed Mar 20, 2015
1 parent 1d34458 commit ae63ebe
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions test/test_base_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,20 +58,36 @@ def test_base_output_global(self):
assert value == expected_result[key]

def test_base_output_info(self):
"""
Test Output logger info
:return:
"""
info_results = OutputLogger.get_summary_info()
expect_dict = self.info_data
expect_dict.update(self.info_data2)
assert info_results == expect_dict

def test_base_output_patches(self):
"""
Test Output logger patches
:return:
"""
patch_results = OutputLogger.get_patches('Patches')
expected_patches = self.patches_data
assert patch_results == expected_patches

def test_base_output_builds_old(self):
"""
Test Output logger old builds
:return:
"""
build_results = OutputLogger.get_build('old')
assert build_results == self.old_rpm_data

def test_base_output_builds_new(self):
"""
Test Output logger new builds
:return:
"""
build_results = OutputLogger.get_build('new')
assert build_results == self.new_rpm_data

0 comments on commit ae63ebe

Please sign in to comment.