test_axographio.py 578 B

12345678910111213141516171819202122232425262728
  1. # -*- coding: utf-8 -*-
  2. """
  3. Tests of neo.io.axographio
  4. """
  5. # needed for python 3 compatibility
  6. from __future__ import absolute_import
  7. import sys
  8. import unittest
  9. from neo.io import AxographIO
  10. from neo.io.axographio import HAS_AXOGRAPHIO
  11. from neo.test.iotest.common_io_test import BaseTestIO
  12. @unittest.skipUnless(HAS_AXOGRAPHIO, "requires axographio")
  13. class TestAxographIO(BaseTestIO, unittest.TestCase):
  14. files_to_test = [
  15. 'File_axograph.axgd'
  16. ]
  17. files_to_download = files_to_test
  18. ioclass = AxographIO
  19. if __name__ == "__main__":
  20. unittest.main()