diff --git a/frappe/core/doctype/file/test_file.py b/frappe/core/doctype/file/test_file.py
index 72fe3491d1..df0ba8c2ec 100644
--- a/frappe/core/doctype/file/test_file.py
+++ b/frappe/core/doctype/file/test_file.py
@@ -534,7 +534,7 @@ class TestFileUtils(unittest.TestCase):
self.assertTrue(frappe.db.exists("File", {"attached_to_name": todo.name}))
self.assertIn('
', todo.description)
- # withot filename in data URI
+ # without filename in data URI
todo = frappe.get_doc({
"doctype": "ToDo",
"description": 'Test
'
diff --git a/frappe/core/doctype/user/test_user.py b/frappe/core/doctype/user/test_user.py
index 6534e70235..5fea8ed9d8 100644
--- a/frappe/core/doctype/user/test_user.py
+++ b/frappe/core/doctype/user/test_user.py
@@ -346,7 +346,7 @@ class TestUser(unittest.TestCase):
self.assertEqual(update_password(new_password, old_password=old_password), "/")
# reset password
update_password(old_password, old_password=new_password)
- frappe.set_user("Administrator")
+
def test_password_verification(self):
diff --git a/frappe/desk/doctype/notification_log/test_notification_log.py b/frappe/desk/doctype/notification_log/test_notification_log.py
index af4dee8df3..2d232cf942 100644
--- a/frappe/desk/doctype/notification_log/test_notification_log.py
+++ b/frappe/desk/doctype/notification_log/test_notification_log.py
@@ -55,6 +55,6 @@ def get_todo():
def get_user():
users = frappe.db.get_all('User',
- filters={'name': ('not in', ['Administrator', 'Guest'])},
+ filters={'name': ('not in', ['Administrator', 'Guest']), 'enabled': 1},
fields='name', limit=1)
return users[0].name