Skip to content

Commit

Permalink
- make the assertion more specific here
Browse files Browse the repository at this point in the history
  • Loading branch information
zzzeek committed Oct 16, 2015
1 parent cd0bdca commit d6247c2
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions tests/test_batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -895,11 +895,14 @@ def test_ix_existing(self):

insp = Inspector.from_engine(config.db)
eq_(
sorted(insp.get_indexes('t_w_ix'), key=lambda idx: idx['name']),
[
{'unique': 0, 'name': 'ix_data', 'column_names': ['data']},
{'unique': 0, 'name': 'ix_thing', 'column_names': ['thing']}
]
set(
(ix['name'], tuple(ix['column_names'])) for ix in
insp.get_indexes('t_w_ix')
),
set([
('ix_data', ('data',)),
('ix_thing', ('thing', ))
])
)

def test_fk_points_to_me_auto(self):
Expand Down

0 comments on commit d6247c2

Please sign in to comment.