Skip to content

Commit e4a0d78

Browse files
committed
Decorated async test stubs
1 parent 3b26241 commit e4a0d78

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

tests/server/api/test_auth_api.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
1+
import pytest
2+
3+
14
def test_check_user():
25
pass
36

47

8+
@pytest.mark.asyncio
59
async def test_submit_to_auth_endpoint():
610
pass
711

812

13+
@pytest.mark.asyncio
914
async def test_validate_token():
1015
pass
1116

@@ -14,6 +19,7 @@ def test_validate_session_against_visit():
1419
pass
1520

1621

22+
@pytest.mark.asyncio
1723
async def test_validate_instrument_token():
1824
pass
1925

@@ -22,14 +28,17 @@ def test_get_visit_name():
2228
pass
2329

2430

31+
@pytest.mark.asyncio
2532
async def test_validate_instrument_server_session_access():
2633
pass
2734

2835

36+
@pytest.mark.asyncio
2937
async def test_validate_frontend_session_access():
3038
pass
3139

3240

41+
@pytest.mark.asyncio
3342
async def test_validate_user_instrument_access():
3443
pass
3544

@@ -46,9 +55,11 @@ def test_create_access_token():
4655
pass
4756

4857

58+
@pytest.mark.asyncio
4959
async def test_generate_token():
5060
pass
5161

5262

63+
@pytest.mark.asyncio
5364
async def test_mint_session_token():
5465
pass

0 commit comments

Comments
 (0)