Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lyriccoder committed May 22, 2020
1 parent 49ca3fd commit 08b541b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/recommend/test_recommend_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ def test_xml_create_full_report(self):
mock_input = [item, another_item, error_file]
xml_string = create_xml_tree(mock_input, full_report=True)
md5_hash = md5(etree.tostring(xml_string))
self.assertEqual(md5_hash.hexdigest(), '9af343c06b99f8cea43025069d4b03c7')
self.assertEqual(md5_hash.hexdigest(), '9b74a0bf07c1703f3ea1ee1f85ec65e0')

def test_xml_empty_resutls(self):
xml_string = create_xml_tree([], True)
md5_hash = md5(etree.tostring(xml_string))
self.assertEqual(md5_hash.hexdigest(), '952db2968757ade19b240fdabeef4860')
self.assertEqual(md5_hash.hexdigest(), 'c5ab46bd9cdc6824606ea195f7047651')

0 comments on commit 08b541b

Please sign in to comment.