コード例 #1
0
 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()
コード例 #2
0
 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()
コード例 #3
0
 def setUp(self):
     """Run before the test."""
     from invenio.modules.documents.api import Document
     self.document = Document.create({'title': 'Test restrictions'})
コード例 #4
0
    def setUp(self):
        """Run before the test."""
        from invenio.modules.documents.api import Document

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