Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Patch fixes issue when login in BMC/eBMC is successful but response b…
…ody has only Token before FIx: Traceback (most recent call last): File "/home/shirisha_g/Desktop/Reinstall-202132021432/OPTEST-SETUP/op-test/common/OpTestUtil.py", line 2576, in login .format(r.status_code, json_data['status'], KeyError: 'status' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/shirisha_g/Desktop/Reinstall-202132021432/OPTEST-SETUP/op-test/OpTestConfiguration.py", line 939, in objs password=self.args.bmc_password) File "/home/shirisha_g/Desktop/Reinstall-202132021432/OPTEST-SETUP/op-test/common/OpTestEBMC.py", line 55, in __init__ r = self.conf.util_bmc_server.login() File "/home/shirisha_g/Desktop/Reinstall-202132021432/OPTEST-SETUP/op-test/common/OpTestUtil.py", line 2599, in login .format(self._url(uri), username, password, e)) common.Exceptions.HTTPCheck: Something happened with the HTTP Server. Review the following for more details Message="Requests post problem, check that your credentials are properly Signed-off-by: Praveen K Pandey <[email protected]>
- Loading branch information