self.assertEqual
diff --git a/erpnext/tests/test_notifications.py b/erpnext/tests/test_notifications.py
index 467ddd3..596bc80 100644
--- a/erpnext/tests/test_notifications.py
+++ b/erpnext/tests/test_notifications.py
@@ -42,5 +42,5 @@
config = notifications.get_notification_config()
doc_target_percents = notifications.get_notifications_for_targets(config, {})
- self.assertEquals(doc_target_percents['Company']['_Test Company 7'], 10)
- self.assertEquals(doc_target_percents['Company']['_Test Company 6'], 0)
+ self.assertEqual(doc_target_percents['Company']['_Test Company 7'], 10)
+ self.assertEqual(doc_target_percents['Company']['_Test Company 6'], 0)