Skip to content

Commit

Permalink
add mock for _verifyAppDB in config_dpb_test.py
Browse files Browse the repository at this point in the history
  • Loading branch information
svc-lnos-user authored and Praveen Chaudhary committed Jun 23, 2021
1 parent 21ade5f commit b4cdbd3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/config_dpb_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ def config_mgmt_dpb(cfgdb):
cmdpb = config_mgmt.ConfigMgmtDPB(source=config_mgmt.CONFIG_DB_JSON_FILE)
# mock funcs
cmdpb.writeConfigDB = mock.MagicMock(return_value=True)
cmdpb._verifyAppDB = mock.MagicMock(return_value=True)
cmdpb._verifyAsicDB = mock.MagicMock(return_value=True)
return cmdpb

Expand Down

0 comments on commit b4cdbd3

Please sign in to comment.