Skip to content

Commit

Permalink
Removed unnecessary patch from unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
marblestation committed Mar 2, 2021
1 parent 5f1fc67 commit 1f55cea
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions adsmp/tests/test_reindex.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,9 @@ def test_reindex(self):
with patch('scripts.reindex.datetime', return_value=commit_time):
with patch('time.sleep', return_value=None):
with patch('scripts.reindex.assert_same', return_value=None):
with patch('scripts.reindex.assert_different', return_value=None):
# https://github.com/adsabs/ADSMasterPipeline/pull/153
x = reindex.run()
# reindex raises exceptions on errors
# https://github.com/adsabs/ADSMasterPipeline/pull/153
x = reindex.run()
# reindex raises exceptions on errors

def test_date(self):
# we have seen dates from solr with and without milliseconds
Expand Down

0 comments on commit 1f55cea

Please sign in to comment.