| Conditions | 2 |
| Total Lines | 7 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | import pytest |
||
| 5 | @pytest.mark.asyncio |
||
| 6 | async def test_auth(): |
||
| 7 | login = "8613402562575" |
||
| 8 | password = "cmkkKFGt58aW" |
||
| 9 | async with AsyncVKAuth(login=login, password=password) as auth: |
||
| 10 | cookies = await auth.get_auth_cookies() |
||
| 11 | assert cookies == "id=816380914; first_name=Shantel; " \ |
||
| 12 | "photo_50=https%3A%2F%2Fvk.com%2Fimages%2Fcamera_50.png" |
||
| 13 |