chore: add explicit test for workaround of python/cpython#98976 (#135)

This commit is contained in:
J. Nick Koston
2022-11-02 17:24:41 +01:00
committed by GitHub
parent 3c1c675309
commit b486e3248b

6
tests/test_constants.py Normal file
View File

@@ -0,0 +1,6 @@
from dbus_fast.constants import MESSAGE_FLAG_MAP, MessageFlag
def test_message_flag_map():
assert 0 in MESSAGE_FLAG_MAP
assert MessageFlag.NONE in MESSAGE_FLAG_MAP