Using pytest-bdd with pytest-asyncio #622
-
I am trying to create a test for set some values in a device and then query them from device to assert that they are equal several times with specific time intervals. But for this to work I need to run query and assert things async because I cannot wait for a response to continue. But I couldn't use Funtion is like this (I couldn't make a multi line code snippet) @pytest.mark.asyncio |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I realized that when I add any decorator related to bdd, it just doesn't recognize other pytest decorators. |
Beta Was this translation helpful? Give feedback.
-
check this out: #223 (comment) |
Beta Was this translation helpful? Give feedback.
check this out: #223 (comment)