Skip to content

Commit 018ff8a

Browse files
committed
Small tweak to conftest.py
1 parent 3f5782d commit 018ff8a

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

tests/conftest.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
1+
import os
12
import pytest
23
from frameioclient import FrameioClient
34

5+
46
@pytest.fixture
57
def frameioclient(token):
68
return FrameioClient("aaaabbbbccccddddeeee")
9+
10+
token = os.getenv('FRAME_IO_TOKEN')
11+
12+
@pytest.fixture()
13+
def setup_client():
14+
client = FrameioClient(token)
15+
return client

0 commit comments

Comments
 (0)