Change 'No results found.' to 'no_results'

This commit is contained in:
Wes Lambert
2022-05-17 16:11:58 +00:00
parent 3761b491c0
commit e4a7e3cba6
2 changed files with 2 additions and 2 deletions

View File

@@ -53,7 +53,7 @@ class TestMHRMethods(unittest.TestCase):
raw = {"hash": "14af04b8e69682782607a0c5796ca56999eda6b3", "last_seen": "NO_DATA", "av_detection_percentage": 0}
results = mhr.prepareResults(raw)
self.assertEqual(results["response"], raw)
self.assertEqual(results["summary"], "No results found.")
self.assertEqual(results["summary"], "no_results")
self.assertEqual(results["status"], "ok")
def test_prepareResults_harmless(self):