diff --git a/tests/test_report.py b/tests/test_report.py index 6ef1638f..4595d7a5 100644 --- a/tests/test_report.py +++ b/tests/test_report.py @@ -1,7 +1,7 @@ # # MIT License # -# (C) Copyright 2019-2023 Hewlett Packard Enterprise Development LP +# (C) Copyright 2019-2024 Hewlett Packard Enterprise Development LP # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Software"), @@ -313,7 +313,7 @@ def test_get_formatted_report_json(self): data = json.loads(json_s) for expected, actual in zip(self.entries, data): - self.assertEquals(expected, list(actual.values())) + self.assertEqual(expected, list(actual.values())) def test_get_formatted_report_json_with_xnames(self): """Json dumps should encode XName datatypes as strings. @@ -326,7 +326,7 @@ def test_get_formatted_report_json_with_xnames(self): json_s = report.get_formatted_report('json') data = json.loads(json_s) - self.assertEquals(xname_s, data[0][header_s]) + self.assertEqual(xname_s, data[0][header_s]) def test_print_report(self): """str(report) should depend on the format instance variable.