Skip to content
Permalink
Browse files

Remove deprecated API from pymongo

  • Loading branch information...
shankari committed Feb 24, 2018
1 parent 5aec7f9 commit 284861c3a0921da017c3a4bfbd2bb59b104ff4bb
@@ -53,7 +53,7 @@ def setUp(self):

def tearDown(self):
logging.debug("Clearing related databases")
# self.clearRelatedDb()
self.clearRelatedDb()

def clearRelatedDb(self):
edb.get_timeseries_db().delete_many({"user_id": self.testUUID})
@@ -45,8 +45,8 @@ def tearDown(self):
self.clearRelatedDb()

def clearRelatedDb(self):
edb.get_timeseries_db().remove({"user_id": self.testUUID})
edb.get_analysis_timeseries_db().remove({"user_id": self.testUUID})
edb.get_timeseries_db().delete_many({"user_id": self.testUUID})
edb.get_analysis_timeseries_db().delete_many({"user_id": self.testUUID})

def testTripGeojson(self):
eaist.segment_current_trips(self.testUUID)

0 comments on commit 284861c

Please sign in to comment.
You can’t perform that action at this time.