def setUp(self): records = [fixtures.call_record_start(), fixtures.call_record_end()] service = services.build_call_record() for record in records: record["type"] = CallRecordType(record["type"]) service.create(record) self.engine = Application.build_engine()
def setUp(self): self.engine = Application.build_engine()