Skip to content

Commit

Permalink
fix broken integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
ajtritt committed Nov 12, 2018
1 parent 6bc75be commit 4a19860
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
6 changes: 4 additions & 2 deletions tests/integration/ui_write/test_ecephys.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ def setUpContainer(self):

def setUpBuilder(self):
device_builder = GroupBuilder('dev1',
datasets={'description': DatasetBuilder('description',
data='a mock device for testing')},
attributes={'neurodata_type': 'Device',
'description': 'a mock device for testing',
'namespace': 'core',
'help': 'A recording device e.g. amplifier'})
return GroupBuilder('elec1',
Expand Down Expand Up @@ -68,8 +69,9 @@ def make_electrode_table(self):
@staticmethod
def get_table_builder(self):
self.device_builder = GroupBuilder('dev1',
datasets={'description': DatasetBuilder('description',
data='a mock device for testing')},
attributes={'neurodata_type': 'Device',
'description': 'a mock device for testing',
'namespace': 'core',
'help': 'A recording device e.g. amplifier'})
self.eg_builder = GroupBuilder('tetrode1',
Expand Down
9 changes: 6 additions & 3 deletions tests/integration/ui_write/test_ophys.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,9 @@ def setUpBuilder(self):
'emission_lambda': DatasetBuilder('emission_lambda', 500.)},
)
device_builder = GroupBuilder('dev1',
datasets={'description': DatasetBuilder('description',
data='a mock device for testing')},
attributes={'neurodata_type': 'Device',
'description': 'a mock device for testing',
'namespace': 'core',
'help': 'A recording device e.g. amplifier'})
return GroupBuilder(
Expand Down Expand Up @@ -106,8 +107,9 @@ def setUpBuilder(self):
'emission_lambda': DatasetBuilder('emission_lambda', 500.)},
)
device_builder = GroupBuilder('dev1',
datasets={'description': DatasetBuilder('description',
data='a mock device for testing')},
attributes={'neurodata_type': 'Device',
'description': 'a mock device for testing',
'namespace': 'core',
'help': 'A recording device e.g. amplifier'})
imgpln_builder = GroupBuilder(
Expand Down Expand Up @@ -213,8 +215,9 @@ def get_plane_segmentation_builder(self):
'emission_lambda': DatasetBuilder('emission_lambda', 500.)},
)
device_builder = GroupBuilder('dev1',
datasets={'description': DatasetBuilder('description',
data='a mock device for testing')},
attributes={'neurodata_type': 'Device',
'description': 'a mock device for testing',
'namespace': 'core',
'help': 'A recording device e.g. amplifier'})
self.imgpln_builder = GroupBuilder(
Expand Down

0 comments on commit 4a19860

Please sign in to comment.