Skip to content
Snippets Groups Projects
Commit d2c2fd82 authored by Olivier Bertrand's avatar Olivier Bertrand
Browse files

Update resource database to use new convvention ids

parent 45d8aeb5
No related branches found
No related tags found
No related merge requests found
...@@ -49,11 +49,9 @@ class TestCase(unittest.TestCase): ...@@ -49,11 +49,9 @@ class TestCase(unittest.TestCase):
# channels must be strings or char # channels must be strings or char
for n in [3, 8.7, None, np.nan]: for n in [3, 8.7, None, np.nan]:
with self.assertRaises(TypeError): with self.assertRaises(TypeError):
DataBase(self.mydb_filename, n) DataBase(self.mydb_filename, channels=n)
# with self.assertRaises(ValueError):
# db=DataBase(self.mydb_filename,[3,4])
with self.assertRaises(ValueError): with self.assertRaises(ValueError):
DataBase(self.mydb_filename, [None, 2]) DataBase(self.mydb_filename, channels=[None, 2])
def test_table_exist(self): def test_table_exist(self):
""" """
......
No preview for this file type
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment