Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_message_from_message():
message = Message({"Uniqueid": "1444884710.0"})
wrapper = MessageWrapper(message)
assert wrapper.uniqueid == "1444884710.0"
assert wrapper.keyid == "1444884710"