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 0243baf commit fbdef21Copy full SHA for fbdef21
tests/test_autopopulate.py
@@ -8,7 +8,6 @@ class TestPopulate:
8
"""
9
Test base relations: insert, delete
10
11
-
12
def setUp(self):
13
self.user = schema.User()
14
self.subject = schema.Subject()
@@ -53,7 +52,7 @@ def test_populate(self):
53
52
54
def test_allow_direct_insert(self):
55
assert_true(self.subject, 'root tables are empty')
56
- key = self.subject.fetch('KEY')[0]
+ key = self.subject.fetch('KEY', limit=1)[0]
57
key['experiment_id'] = 1000
58
key['experiment_date'] = '2018-10-30'
59
self.experiment.insert1(key, allow_direct_insert=True)
0 commit comments