File tree Expand file tree Collapse file tree 2 files changed +12
-9
lines changed
Expand file tree Collapse file tree 2 files changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ class BaseTestRawIO:
5252 rawioclass = None # the IOclass to be tested
5353
5454 entities_to_test = [] # list of files to test compliances
55- entities_to_download = [] # when files are at gin
55+ entities_to_download = [] # when files a re at gin
5656
5757 # allow environment to tell avoid using network
5858 use_network = can_use_network ()
Original file line number Diff line number Diff line change 11import unittest
2- import os
32
43from neo .rawio .maxwellrawio import MaxwellRawIO , auto_install_maxwell_hdf5_compression_plugin
54from neo .test .rawiotest .common_rawio_test import BaseTestRawIO
65
6+ from neo .utils .datasets import download_dataset , default_testing_repo
7+
8+ try :
9+ import datalad
10+
11+ HAVE_DATALAD = True
12+ except :
13+ HAVE_DATALAD = False
14+
15+ # url_for_tests = "https://portal.g-node.org/neo/" #This is the old place
16+ repo_for_test = default_testing_repo
717
818class TestMaxwellRawIO (
919 BaseTestRawIO ,
1020 unittest .TestCase ,
1121):
12- rawioclass = MaxwellRawIO
13- entities_to_download = ["maxwell" ]
14- entities_to_test = files_to_test = [
15- "maxwell/MaxOne_data/Record/000011/data.raw.h5" ,
16- "maxwell/MaxTwo_data/Network/000028/data.raw.h5" ,
17- ]
1822
1923 def setUp (self ):
2024 auto_install_maxwell_hdf5_compression_plugin (force_download = False )
21- BaseTestRawIO .setUp (self )
2225
2326
2427if __name__ == "__main__" :
You can’t perform that action at this time.
0 commit comments