Scheduled service maintenance on November 22


On Friday, November 22, 2024, between 06:00 CET and 18:00 CET, GIN services will undergo planned maintenance. Extended service interruptions should be expected. We will try to keep downtimes to a minimum, but recommend that users avoid critical tasks, large data uploads, or DOI requests during this time.

We apologize for any inconvenience.

1
0

bugs.py 511 B

1234567891011121314
  1. import odml
  2. import unittest
  3. class BugTests(unittest.TestCase):
  4. def test_doc_repository_attribute_init(self):
  5. repo = "http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml"
  6. doc = odml.Document(repository=repo)
  7. self.assertEqual(doc._repository, repo,
  8. "Document needs to init its baseclass first, as it overwrites "
  9. "the repository attribute")
  10. self.assertEqual( doc.repository, repo)
  11. if __name__ == '__main__':
  12. unittest.main()