def setUp(self):
     """Run before the test."""
     from invenio_documents.api import Document
     self.document = Document.create({'title': 'J.A.R.V.I.S'})
     self.path = tempfile.mkdtemp()
 def setUp(self):
     """Run before the test."""
     from invenio_documents.api import Document
     self.document = Document.create({'title': 'Test restrictions'})
Example #3
0
 def setUp(self):
     """Run before the test."""
     from invenio_documents.api import Document
     self.document = Document.create({'title': 'Test restrictions'})