コード例 #1
0
ファイル: tests.py プロジェクト: tstalka/commcare-hq
 def test_delete_docs_non_existent(self):
     doc_ids = [doc['_id'] for doc in self.docs] + ['unknown_id']
     delete_docs(self.migration.target_db, doc_ids)
     self.assert_no_docs_in_target_db()
コード例 #2
0
ファイル: tests.py プロジェクト: ansarbek/commcare-hq
 def test_delete_docs_non_existent(self):
     doc_ids = [doc['_id'] for doc in self.docs] + ['unknown_id']
     delete_docs(self.migration.target_db, doc_ids)
     self.assert_no_docs_in_target_db()
コード例 #3
0
ファイル: tests.py プロジェクト: tstalka/commcare-hq
 def test_delete_docs(self):
     doc_ids = [doc['_id'] for doc in self.docs]
     delete_docs(self.migration.target_db, doc_ids)
     self.assert_no_docs_in_target_db()
コード例 #4
0
ファイル: tests.py プロジェクト: ansarbek/commcare-hq
 def test_delete_docs(self):
     doc_ids = [doc['_id'] for doc in self.docs]
     delete_docs(self.migration.target_db, doc_ids)
     self.assert_no_docs_in_target_db()