@ -1,7 +1,10 @@
|
||||
from ...client import AuthenticatedClientFromEnv
|
||||
from ...models import FileConversion, ValidFileTypes, AuthSession, InstanceMetadata
|
||||
from ...api.file import file_convert_with_base64_helper
|
||||
from ...api.meta import meta_debug_session, meta_debug_instance
|
||||
import pytest
|
||||
import asyncio
|
||||
|
||||
from .client import AuthenticatedClientFromEnv
|
||||
from .models import FileConversion, ValidFileTypes, AuthSession, InstanceMetadata
|
||||
from .api.file import file_convert_with_base64_helper
|
||||
from .api.meta import meta_debug_session, meta_debug_instance
|
||||
|
||||
def test_get_session():
|
||||
# Create our client.
|
||||
@ -12,7 +15,8 @@ def test_get_session():
|
||||
|
||||
print(f"Session: {session}")
|
||||
|
||||
def test_get_session_async():
|
||||
@pytest.mark.asyncio
|
||||
async def test_get_session_async():
|
||||
# Create our client.
|
||||
client = AuthenticatedClientFromEnv()
|
||||
|
||||
@ -29,7 +33,8 @@ def test_get_instance():
|
||||
instance: InstanceMetadata = meta_debug_instance.sync(client=client)
|
||||
print(f"Instance: {instance}")
|
||||
|
||||
def test_get_instance_async():
|
||||
@pytest.mark.asyncio
|
||||
async def test_get_instance_async():
|
||||
# Create our client.
|
||||
client = AuthenticatedClientFromEnv()
|
||||
|
||||
|
Reference in New Issue
Block a user