/dports/databases/py-aioredis/aioredis-1.3.1/tests/ |
H A D | generic_commands_test.py | 19 await add(redis, 'my-key', 123) 29 await redis.delete(None) 47 await redis.dump(None) 62 await redis.exists(None) 121 assert (await fut2) >= 10 127 assert (await fut2) >= 10 424 await asyncio.sleep(.2) 442 assert await fut2 == 2 602 res = await redis.sort( 635 res = await redis.sort( [all …]
|
H A D | string_commands_test.py | 458 await tr.execute() 459 await fut1 493 await tr.execute() 494 await fut1 505 await tr.execute() 506 await fut1 516 await redis.set( 522 await redis.set( 577 await tr.execute() 578 await fut1 [all …]
|
H A D | pubsub_commands_test.py | 12 while await ch.wait_message(): 13 msg = await ch.get() 14 await output.put(msg) 23 await fut 25 msg = await out.get() 37 await fut 42 msg = await out.get() 218 await tsk 230 await tsk 241 await asyncio.sleep(0) [all …]
|
H A D | stream_commands_test.py | 16 await asyncio.sleep(0.2) 49 await asyncio.sleep(0.001) 51 await asyncio.sleep(0.001) 88 await asyncio.sleep(0.001) 90 await asyncio.sleep(0.001) 366 await redis.xread_group( 393 await redis.xread_group( 424 await redis.xread_group( 453 await redis.xread_group( 459 await asyncio.sleep(0.1) [all …]
|
H A D | list_commands_test.py | 8 await asyncio.sleep(0.2) 28 await redis.blpop(None) 30 await redis.blpop(key1, None) 37 await redis.rpush(key2, value1) 61 test_value = await waiter 81 await redis.brpop(None) 115 test_value = await waiter 178 test_value = await waiter 255 await redis.llen(None) 281 await redis.lpop(None) [all …]
|
H A D | sorted_set_commands_test.py | 16 await redis.zadd(key1, *pairs[0]) 87 res = await redis.zadd( 99 res = await redis.zadd( 129 res = await redis.zcard(key) 133 res = await redis.zcard(key) 137 await redis.zcard(None) 157 res = await redis.zcount( 160 res = await redis.zcount( 163 res = await redis.zcount( 166 res = await redis.zcount( [all …]
|
/dports/devel/py-curio/curio-1.5/tests/ |
H A D | test_io.py | 30 await done.set() 35 await sock.recv(8) 38 await sock.close() 43 await done.wait() 45 await c.join() 78 await done.set() 93 await c.join() 140 await c.join() 186 await c.join() 227 await c.join() [all …]
|
H A D | test_kernel.py | 37 await sleep(0.5) 47 await sleep(0.1) 65 await sleep(0.1) 118 await sleep(0.5) 191 await e1.set() 202 await e1.wait() 204 await e2.set() 221 await sleep(0) 408 await coro2() 451 await coro2() [all …]
|
H A D | test_socket.py | 22 await sock.close() 34 await client.close() 41 await sleep(0.1) 45 await sleep(0.1) 49 await sock.close() 50 await sleep(0.1) 104 await sleep(0.1) 108 await sleep(0.1) 113 await sleep(0.1) 210 await sleep(0.1) [all …]
|
H A D | test_queue.py | 27 await sleep(0.1) 34 await queue.join() 36 await c1.join() 37 await c2.join() 70 await sleep(0.1) 77 await c1.join() 110 await sleep(0.1) 151 await sleep(0.5) 230 await q.put(1) 324 await t1.join() [all …]
|
H A D | test_sync.py | 21 await sleep(seconds) 23 await evt.set() 28 await evt.wait() 38 await t1.join() 39 await t2.join() 56 await evt.set() 62 await evt.wait() 69 await t1.join() 70 await t2.join() 157 await evt.set() [all …]
|
H A D | test_channel.py | 246 await sleep(1) 267 await task.join() 290 await sleep(1) 313 await task.join() 394 await t2.join() 395 await t1.cancel() 404 await sleep(2) 438 await c.close() 446 await c.close() 451 await t1.join() [all …]
|
H A D | test_task.py | 16 await sleep(10) 26 await t.cancel() 42 await sleep(10) 139 await evt.wait() 147 await t1.join() 148 await t4.join() 168 await evt.wait() 486 await e2.set() 511 await e2.set() 518 await e1.set() [all …]
|
/dports/www/py-aiohttp/aiohttp-3.7.4.post0/tests/ |
H A D | test_client_ws_functional.py | 17 await ws.close() 30 await resp.close() 42 await ws.close() 76 await resp.close() 146 await resp.ping() 157 await closed 182 await resp.ping() 198 await closed 289 await closed 325 await closed [all …]
|
H A D | test_web_websocket_functional.py | 162 await closed 197 await closed 231 await closed 340 await closed 367 await closed 428 await closed 452 await closed 475 await closed 498 await closed 531 await closed [all …]
|
/dports/multimedia/playerctl/playerctl-2.3.1/test/ |
H A D | test_follow.py | 17 line = await proc.queue.get() 32 await mpris1.disconnect() 85 await mpris3.disconnect() 87 await mpris2.ping() 92 await mpris2.disconnect() 93 await mpris1.ping() 97 await mpris1.disconnect() 160 await asyncio.gather(*[ 195 await mpris4.ping() 201 await mpris4.ping() [all …]
|
H A D | test_daemon.py | 16 await pkill.wait() 77 cmd = await run('play') 83 cmd = await run('play') 89 cmd = await run('play') 94 await mpris3.disconnect() 95 cmd = await run('play') 143 await mpris1.disconnect() 151 await proc.proc.wait() 165 return await shift.wait() 261 reply = await bus.call( [all …]
|
/dports/textproc/py-sphinx-autoapi/sphinx-autoapi-1.8.4/tests/dotnetexample/example/Identity/test/EF.Test/ |
H A D | UserStoreTest.cs | 92 … await Assert.ThrowsAsync<ObjectDisposedException>(async () => await store.GetClaimsAsync(null)); in SqlUserStoreMethodsThrowWhenDisposedTest() 93 … await Assert.ThrowsAsync<ObjectDisposedException>(async () => await store.GetLoginsAsync(null)); in SqlUserStoreMethodsThrowWhenDisposedTest() 94 … await Assert.ThrowsAsync<ObjectDisposedException>(async () => await store.GetRolesAsync(null)); in SqlUserStoreMethodsThrowWhenDisposedTest() 103 … await Assert.ThrowsAsync<ObjectDisposedException>(async () => await store.FindByIdAsync(null)); in SqlUserStoreMethodsThrowWhenDisposedTest() 104 … await Assert.ThrowsAsync<ObjectDisposedException>(async () => await store.FindByNameAsync(null)); in SqlUserStoreMethodsThrowWhenDisposedTest() 105 … await Assert.ThrowsAsync<ObjectDisposedException>(async () => await store.CreateAsync(null)); in SqlUserStoreMethodsThrowWhenDisposedTest() 106 … await Assert.ThrowsAsync<ObjectDisposedException>(async () => await store.UpdateAsync(null)); in SqlUserStoreMethodsThrowWhenDisposedTest() 107 … await Assert.ThrowsAsync<ObjectDisposedException>(async () => await store.DeleteAsync(null)); in SqlUserStoreMethodsThrowWhenDisposedTest() 135 await in UserStorePublicNullCheckTest() 138 await in UserStorePublicNullCheckTest() [all …]
|
/dports/databases/py-asyncpg/asyncpg-0.25.0/tests/ |
H A D | test_cache_invalidation.py | 41 await self.con.execute( 62 await self.con.execute( 87 con1 = await pool.acquire() 102 await self.con.execute( 121 await pool.release(con2) 122 await pool.release(con1) 123 await pool.close() 255 await self.con.execute( 385 await pool.release(con2) 387 await pool.close() [all …]
|
/dports/lang/mono/mono-5.10.1.57/mcs/tests/ |
H A D | test-async-13.cs | 192 d = b [await Task.Factory.StartNew (() => 1)] = await Task.Factory.StartNew (() => 4.4); in ArrayAccessTest_2() 209 d [await Task.Factory.StartNew (() => 1)] += await Task.Factory.StartNew (() => 9.9m); in ArrayAccessTest_3() 214 r = d [await Task.Factory.StartNew (() => 1)] -= await Task.Factory.StartNew (() => 5.9m); in ArrayAccessTest_3() 226 s [await Task.Factory.StartNew (() => 1)] += await Task.Factory.StartNew (() => "b"); in ArrayAccessTest_4() 256 var r = s [await Task.Factory.StartNew (() => 1)] += await Task.Factory.StartNew (() => (byte)30); in ArrayAccessTest_8() 309 int a = await Task.Factory.StartNew (() => 1), b = await Task.Factory.StartNew (() => 2); in AssignTest_3() 451 return true ? await Task.Factory.StartNew (() => 0) : await Task.Factory.StartNew (() => 1); in ConditionalTest_1() 515 this[await Task.Factory.StartNew (() => 3)] = await Task.Factory.StartNew (() => 6); in IndexerTest_2() 522 this[await Task.Factory.StartNew (() => value++)] += await Task.Factory.StartNew (() => 5); in IndexerTest_3() 553 var r2 = this[await Task.Factory.StartNew (() => 55)] = await Task.Factory.StartNew (() => 8); in IndexerTest_6() [all …]
|
/dports/textproc/py-sphinx-autoapi/sphinx-autoapi-1.8.4/tests/dotnetexample/example/Identity/src/Specification.Tests/ |
H A D | UserManagerSpecificationTests.cs | 178 var userId = await manager.GetUserIdAsync(user); in CreateUserWillSetCreateDateOnlyIfSupported() 195 var userId = await manager.GetUserIdAsync(user); in CanDeleteUser() 197 Assert.Null(await manager.FindByIdAsync(userId)); in CanDeleteUser() 381 Assert.NotNull(await manager.FindByIdAsync(await manager.GetUserIdAsync(user))); in CanFindById() 439 var result = await manager.CreateAsync(user); in CanChainUserValidators() 675 var result = await manager.CreateAsync(user); in CanCreateUserAddRemoveLogin() 691 logins = await manager.GetLoginsAsync(user); in CanCreateUserAddRemoveLogin() 933 …IdentityResultAssert.IsSuccess(await manager.SetEmailAsync(user2, await manager.GetEmailAsync(user… in AddDupeEmailAllowedByDefault() 1842 await manager.ConfirmEmailAsync(user, token); in EmailFactorFailsAfterSecurityStampChangeTest() 2035 await manager.UpdateAsync(user); in CanGetValidTwoFactor() [all …]
|
/dports/lang/rust/rustc-1.58.1-src/src/test/ui/async-await/await-keyword/ |
H A D | incorrect-syntax-suggestions.stderr | 1 error: incorrect use of `await` 4 LL | let _ = await bar(); 5 | ^^^^^^^^^^^ help: `await` is a postfix operation: `bar().await` 11 | ^^^^^^^^^^^^ help: `await` is a postfix operation: `bar().await?` 17 | ^^^^^^^^^^^^ help: `await` is a postfix operation: `bar()?.await` 29 | ^^^^^^^^^^^^ help: `await` is a postfix operation: `(bar()).await` 41 | ^^^^^^^^^^^ help: `await` is a postfix operation: `bar().await` 118 LL | match await { await => () } 126 LL | match await { await => () } 127 | ^^^^^^^^^^^^^^^^^^^^^ help: `await` is a postfix operation: `{ await => () }.await` [all …]
|
/dports/net/py-saltyrtc.server/saltyrtc.server-5.0.1/tests/ |
H A D | test_protocol.py | 120 await client.recv() 138 await client.recv() 156 await client.recv() 175 await client.recv() 442 await client.close() 492 await client.close() 565 await sleep(2.1) 589 await sleep(1.1) 612 await sleep(1.1) 1406 await done_future [all …]
|
/dports/textproc/py-sphinx-autoapi/sphinx-autoapi-1.8.4/tests/dotnetexample/example/Identity/test/Identity.FunctionalTests/ |
H A D | UserStories.cs | 24 var index = await Index.CreateAsync(client); in RegisterNewUserAsync() 33 var index = await Index.CreateAsync(client); in LoginExistingUserAsync() 35 var login = await index.ClickLoginLinkAsync(); in LoginExistingUserAsync() 42 var index = await Index.CreateAsync(client); in LoginFailsWithWrongPasswordAsync() 44 var login = await index.ClickLoginLinkAsync(); in LoginFailsWithWrongPasswordAsync() 51 var index = await Index.CreateAsync(client); in LockoutExistingUserAsync() 53 var login = await index.ClickLoginLinkAsync(); in LockoutExistingUserAsync() 85 var index = await Index.CreateAsync( in LoginWithSocialLoginAsync() 100 var index = await Index.CreateAsync(client); in LoginExistingUser2FaAsync() 135 var index = await Index.CreateAsync(client); in LoginExistingUserRecoveryCodeAsync() [all …]
|
/dports/devel/py-pycodestyle/pycodestyle-2.8.0/testsuite/ |
H A D | W60.py | 50 await = 42 variable 52 await 42 54 await 'test' 59 def await(): function 65 class await: class 71 if await fut: 92 await foo() + await bar() 93 (await foo()) + (await bar()) 94 -await foo() 96 (await [all …]
|