mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-11 10:00:48 -05:00
15 lines
283 B
Python
15 lines
283 B
Python
from django.test import TestCase
|
|
|
|
from documents.index import JsonFormatter
|
|
|
|
|
|
class JsonFormatterTest(TestCase):
|
|
|
|
def setUp(self) -> None:
|
|
self.formatter = JsonFormatter()
|
|
|
|
def test_empty_fragments(self):
|
|
self.assertListEqual(self.formatter.format([]), [])
|
|
|
|
|