We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 931ba8f commit 58c3b3eCopy full SHA for 58c3b3e
tests/test_autopopulate.py
@@ -57,6 +57,12 @@ def test_allow_direct_insert(self):
57
key['experiment_date'] = '2018-10-30'
58
self.experiment.insert1(key, allow_direct_insert=True)
59
60
+ def test_multi_processing(self):
61
+ assert self.subject, 'root tables are empty'
62
+ assert not self.experiment, 'table already filled?'
63
+ self.experiment.populate(processes=2)
64
+ assert len(self.experiment) == len(self.subject)*self.experiment.fake_experiments_per_subject
65
+
66
@raises(DataJointError)
67
def test_allow_insert(self):
68
assert_true(self.subject, 'root tables are empty')
0 commit comments