Create the default DocumentQueue

This commit is contained in:
Roberto Rosario
2015-01-05 03:50:42 -04:00
parent 62074b8b39
commit a45bdc5259

View File

@@ -18,6 +18,8 @@ class DocumentOCRTestCase(TransactionTestCase):
with open(TEST_SMALL_DOCUMENT_PATH) as file_object:
self.document = Document.objects.new_document(file_object=File(file_object), document_type=self.document_type)[0].document
DocumentQueue.objects.get_or_create(name='default')
# Clear OCR queue
QueueDocument.objects.all().delete()