Skip to content

Commit

Permalink
fix failing test due to new persons in elasticsearch
Browse files Browse the repository at this point in the history
  • Loading branch information
OriHoch committed Jun 8, 2017
1 parent 638bc9a commit 3d68c6e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_migration.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,9 @@ def test_ensure_metadata(app, mock_db):
('persons', 'NO_UPDATE_NEEDED', (1, 0, 'I2')),
('persons', 'ADDED_ITEM', (1, 0, 'I3')),
('persons', 'DELETED_ITEM', (1933, 0, 'I687')),
('persons', 'DELETED_ITEM', (1196, 0, 'I686'))}
('persons', 'DELETED_ITEM', (1196, 0, 'I686')),
('persons', 'DELETED_ITEM', (6654, 0, 'I7787')),
('persons', 'DELETED_ITEM', (6654, 0, 'I7788')),}
# running again - to make sure it searches items properly in ES
# items deleted in previous results - don't appear now
# items added / no update needed in previous results - all have no_update_needed now
Expand Down

0 comments on commit 3d68c6e

Please sign in to comment.