Browse Source

refactor: Use FrappeTestCase as it rolls back test data

version-14
Suraj Shetty 2 years ago
parent
commit
9e87598dda
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      frappe/tests/test_boot.py

+ 2
- 1
frappe/tests/test_boot.py View File

@@ -3,9 +3,10 @@ import unittest
import frappe
from frappe.boot import get_unseen_notes
from frappe.desk.doctype.note.note import mark_as_seen
from frappe.tests.utils import FrappeTestCase


class TestBootData(unittest.TestCase):
class TestBootData(FrappeTestCase):
def test_get_unseen_notes(self):
frappe.db.delete("Note")
frappe.db.delete("Note Seen By")


Loading…
Cancel
Save