def setUp(self):
super(FwMgrTest, self).setUp()<EOL>self._init_values()<EOL>self._fill_cfg()<EOL>self.cfg = config.CiscoDFAConfig().cfg<EOL>fw_mgr.FwMgr.__bases__ = (FakeClass.imitate(dev_mgr.DeviceMgr,<EOL>dbm.DfaDBMixin),)<EOL>FakeClass.set_return(dbm.DfaDBMixin, '<STR_LIT>', dict())<EOL>mock.patch('<STR_LIT>'<EOL>'<STR_LIT>').start()<EOL>mock.patch('<STR_LIT>'<EOL>'<STR_LIT>').start()<EOL>fw_mgr.FwMgr.events = mock.Mock()<EOL>self.fw_mgr = fw_mgr.FwMgr(self.cfg)<EOL>self.update_fw_db_mock = mock.patch.object(<EOL>self.fw_mgr, '<STR_LIT>').start()<EOL>self.create_fw_dev_mock = mock.patch.object(<EOL>self.fw_mgr, '<STR_LIT>').start()<EOL>self.update_fw_dev_mock = mock.patch.object(<EOL>self.fw_mgr, '<STR_LIT>').start()<EOL>
Setup for the test scripts.