Skip to content

Commit a413f33

Browse files
author
Matt Sokoloff
committed
fix tests
1 parent c6e092a commit a413f33

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tests/integration/conftest.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
from datetime import datetime
44
from random import randint
55
from string import ascii_letters
6+
from types import SimpleNamespace
67
import os
78
import re
89

@@ -107,6 +108,15 @@ def get_invites(client):
107108
invites) # list() so that it makes the request to the right endpoint.
108109

109110

111+
@pytest.fixture
112+
def queries():
113+
return SimpleNamespace({
114+
'cancel_invite': cancel_invite,
115+
'get_project_invites': get_project_invites,
116+
'get_invites': get_invites
117+
})
118+
119+
110120
class IntegrationClient(Client):
111121

112122
def __init__(self, environ: str) -> None:

0 commit comments

Comments
 (0)