(self)
| 25 | self.assertTrue(any("Synchronous access" in str(warn.message) for warn in w)) |
| 26 | |
| 27 | async def test_amget(self): |
| 28 | values = await config.amget(["INT_VALUE", "BOOL_VALUE"]) |
| 29 | self.assertEqual(values["INT_VALUE"], 1) |
| 30 | self.assertEqual(values["BOOL_VALUE"], True) |
| 31 | |
| 32 | async def test_sync_math_in_async_loop(self): |
| 33 | # Accessing math should work but emit warning |