def setUp(self):
     """Run before the test."""
     from invenio.modules.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.modules.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.modules.documents.api import Document
     self.document = Document.create({'title': 'Test restrictions'})
    def setUp(self):
        """Run before the test."""
        from invenio.modules.documents.api import Document

        self.document = Document.create({"title": "Test restrictions"})