Skip to content

Commit 0d72a38

Browse files
committed
Update test.
1 parent 258b24c commit 0d72a38

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

tests/test_fetch.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
import pandas
77
import warnings
88
from . import schema
9+
from .schema import Parent
910
import datajoint as dj
1011
import os
1112

@@ -287,7 +288,12 @@ def test_query_caching(self):
287288

288289
# reset cache directory state (will fail if purge was unsuccessful)
289290
os.rmdir(os.path.expanduser('~/dj_query_cache'))
290-
291+
291292
def test_fetch_group_by(self):
292293
# nosetests -vs --tests=tests.test_fetch:TestFetch.test_fetch_group_by --nologcapture
293-
schema.Parent.fetch('KEY', order_by='name')
294+
# https://github.com/datajoint/datajoint-python/issues/914
295+
296+
# This command is confirmed to work in v0.12.9 but not in v0.13.2
297+
298+
Parent().fetch('KEY', order_by='name')
299+

0 commit comments

Comments
 (0)