This commit is contained in:
@@ -107,7 +107,7 @@ def test_post():
|
|||||||
text = "This is a message"
|
text = "This is a message"
|
||||||
author = "robot"
|
author = "robot"
|
||||||
|
|
||||||
resp = elog.post(text, Title=title, Author=author, Category="General", Type="Other")
|
resp = elog.post(text, title=title, author=author, category="General", type="Other")
|
||||||
assert resp is not None
|
assert resp is not None
|
||||||
|
|
||||||
url = f"http://localhost:8080/demo/{resp}"
|
url = f"http://localhost:8080/demo/{resp}"
|
||||||
@@ -130,7 +130,7 @@ def test_screenshot(mock_screenshot_class):
|
|||||||
elog = get_test_elog()
|
elog = get_test_elog()
|
||||||
|
|
||||||
test_msg = "SCREENSHOT_INTEGRATION_TEST_MSG_456"
|
test_msg = "SCREENSHOT_INTEGRATION_TEST_MSG_456"
|
||||||
entry_id = elog.screenshot(message=test_msg, Type="Other")
|
entry_id = elog.screenshot(message=test_msg, type="Other")
|
||||||
|
|
||||||
assert entry_id is not None
|
assert entry_id is not None
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user