MCPcopy Index your code
hub / github.com/PostmonAPI/postmon / setUp

Method setUp

test/database_test.py:10–19  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

8class MongoDbTest(unittest.TestCase):
9
10 def setUp(self):
11 self.db = MongoDb()
12
13 self.db.insert_or_update({
14 'cep': 'UNIQUE_KEY',
15 'logradouro': 'A',
16 'bairro': 'A',
17 'cidade': 'A',
18 'estado': 'A'
19 })
20
21 def test_remove_empty_fields(self):
22

Callers

nothing calls this directly

Calls 2

MongoDbClass · 0.90
insert_or_updateMethod · 0.80

Tested by

no test coverage detected