fix tests
fix tests broken by lack of certs - pytest.ini provides environment variables that load tests/test_certs
This commit is contained in:
parent
d1dffcff0e
commit
422a28cd8d
13 changed files with 134 additions and 28 deletions
|
|
@ -725,7 +725,6 @@ async def test_lg_logs(aiohttp_client):
|
|||
confserver.helperbot.send_command = mock.MagicMock(
|
||||
return_value=async_return(command_getstatus_resp)
|
||||
)
|
||||
|
||||
|
||||
# Test GetGlobalDeviceList
|
||||
postbody = {
|
||||
|
|
@ -800,7 +799,7 @@ async def test_devmgr(aiohttp_client):
|
|||
text = await resp.text()
|
||||
test_resp = json.loads(text)
|
||||
assert test_resp["ret"] == "ok"
|
||||
assert test_resp["unRead"] == False
|
||||
assert test_resp["unRead"] == False
|
||||
|
||||
# Test BotCommand
|
||||
bumper.bot_add("sn_1234", "did_1234", "dev_1234", "res_1234", "eco-ng")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue