Skip to content

Commit

Permalink
improving asserts
Browse files Browse the repository at this point in the history
  • Loading branch information
nklapste committed Mar 12, 2019
1 parent edf2b53 commit 6c07b39
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/integration/test_chunked_logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,7 @@ def test_chunked_logging():
assert message == graylog_response["message"]
assert "long_message" not in graylog_response
assert "timestamp" in graylog_response
assert "facility" in graylog_response
assert "host" in graylog_response
assert "1.0" == graylog_response["version"]
assert SYSLOG_LEVELS[logging.ERROR] == graylog_response["level"]
3 changes: 3 additions & 0 deletions tests/integration/test_common_logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,7 @@ def test_common_logging(logger):
assert message == graylog_response["message"]
assert "long_message" not in graylog_response
assert "timestamp" in graylog_response
assert "facility" in graylog_response
assert "host" in graylog_response
assert "1.0" == graylog_response["version"]
assert SYSLOG_LEVELS[logging.ERROR] == graylog_response["level"]

0 comments on commit 6c07b39

Please sign in to comment.