Skip to content

Commit fbc47da

Browse files
committed
Initial test.
1 parent c1ca1f9 commit fbc47da

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/test_aggr_regressions.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from nose.tools import assert_equal, raises
77
import datajoint as dj
88
from . import PREFIX, CONN_INFO
9-
9+
from . import schema_simple
1010
schema = dj.Schema(PREFIX + '_aggr_regress', connection=dj.conn(**CONN_INFO))
1111

1212
# --------------- ISSUE 386 -------------------
@@ -103,3 +103,6 @@ def test_issue558_part2():
103103
d = dict(id=3, id2=5)
104104
assert_equal(len(X & d), len((X & d).proj(id2='3')))
105105

106+
107+
def test_aggr_with_proj():
108+
schema_simple.A.aggr(schema_simple.D.proj(m='id_l'), ..., n='max(m) - min(m)')

0 commit comments

Comments
 (0)