crash.software
Projects
Pull Requests
Issues
Builds
graphql-engine
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
graphql-engine
Files
🤬
Sign In
release/v2.36
ROOT
/
server
/
tests-py
/
context.py
Search
History
1018 lines
|
ISO-8859-1
|
34 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
graphql
HTTPStatus
http.server
json
os
queue
random
re
requests
yaml
OrderedDict
socketserver
sqlalchemy
sqlalchemy.schema
string
subprocess
threading
time
Any
NamedTuple
Optional
urlparse
websocket
fixtures.tls
graphql_server
ports
PytestConf
HGECtxError
(Exception)
GQLWsClient
hge_ctx
ws_queue
ws_url
ws_id_query_queues
ws_active_query_ids
connected_event
init_done
is_closing
remote_closed
_ws
wst
__init__
(self,hge_ctx,endpoint)
create_conn
(self)
recreate_conn
(self)
wait_for_connection
(self,timeout=10)
get_ws_event
(self,timeout)
has_ws_query_events
(self,query_id)
get_ws_query_event
(self,query_id,timeout)
send
(self,frame,count=0)
init_as_admin
(self)
init
(self,headers={})
stop
(self,query_id)
gen_id
(self,size=6,chars=string.ascii_letters+string.digits)
send_query
(self,query,query_id=None,headers={},timeout=60)
_on_open
(self)
_on_message
(self,message)
_on_close
(self)
get_conn_close_state
(self)
teardown
(self)
GraphQLWSClient
hge_ctx
ws_queue
ws_url
ws_id_query_queues
ws_active_query_ids
connected_event
init_done
is_closing
remote_closed
_ws
wst
__init__
(self,hge_ctx,endpoint)
get_queue
(self)
clear_queue
(self)
create_conn
(self)
recreate_conn
(self)
wait_for_connection
(self,timeout=10)
get_ws_event
(self,timeout)
has_ws_query_events
(self,query_id)
get_ws_query_event
(self,query_id,timeout)
send
(self,frame)
init_as_admin
(self)
init
(self,headers={})
stop
(self,query_id)
gen_id
(self,size=6,chars=string.ascii_letters+string.digits)
send_query
(self,query,query_id=None,headers={},timeout=60)
_on_open
(self)
_on_message
(self,message)
_on_close
(self)
get_conn_close_state
(self)
teardown
(self)
ActionsWebhookHandler
(http.server.BaseHTTPRequestHandler)
req_json
do_GET
(self)
do_POST
(self)
intentional_error
(self)
create_user
(self)
create_users
(self)
create_user_nested
(self)
get_messages
(self)
mirror_action
(self)
mirror_headers
(self)
get_users_by_email
(self,singleUser=False)
get_users_by_email_nested
(self,singleUser=False)
get_typed_nested_null
(self)
get_omitted_response_field
(self)
get_typed_nested_null_wrong_field
(self)
null_response
(self)
json_response
(self)
custom_scalar_array_response
(self)
recursive_output
(self)
get_results
(self)
check_email
(self,email)
execute_query
(self,query)
_send_response
(self,status,body)
ActionsWebhookServer
(http.server.HTTPServer)
__init__
(self,hge_url,hge_key,server_address)
url
(self)
EvtsWebhookHandler
(http.server.BaseHTTPRequestHandler)
do_GET
(self)
do_POST
(self)
ThreadedHTTPServer
(socketserver.ThreadingMixIn,http.server.HTTPServer)
url
(self)
EvtsWebhookServer
(ThreadedHTTPServer)
resp_queue
unblocked
unblocked_wait
blocked_count
__init__
(self,server_address)
unblock
(self)
get_event
(self,timeout)
is_queue_empty
(self)
HGECtxGQLServer
server_address
tls_ca_configuration
server
thread
__init__
(self,server_address:tuple[str,int],tls_ca_configuration:Optional[fixtures.tls.TLSCAConfiguration]=None,hge_urls:list[str]=[])
start_server
(self)
stop_server
(self)
url
(self)
host
(self)
port
(self)
HGECtxWebhook
(NamedTuple)
HGECtx
http
timeout
hge_url
metadata_schema_url
hge_key
webhook
may_skip_test_teardown
engine
meta
hge_scale_url
pro_tests
ws_client
ws_client_v1alpha1
ws_client_relay
ws_client_graphql_ws
backend
default_backend
is_default_backend
version
__init__
(self,hge_url:str,metadata_schema_url:str,hge_key:Optional[str],webhook:Optional[HGECtxWebhook],enabled_apis:Optional[set[str]],clear_dbs:bool,config,)
reflect_tables
(self)
anyq
(self,u,q,h,b=None,v=None)
sql
(self,q)
execute_query
(self,q,url_path,headers={},expected_status_code=200)
v1q
(self,q,headers={},expected_status_code=200)
v1q_f
(self,filepath,headers={},expected_status_code=200)
v2q
(self,q,headers={},expected_status_code=200)
v2q_f
(self,filepath,headers={},expected_status_code=200)
backend_suffix
(self,filename)
v1metadataq
(self,q,headers={},expected_status_code=200)
v1metadataq_f
(self,filepath,headers={},expected_status_code=200)
v1graphqlq
(self,q,headers={},expected_status_code=200)
v1graphql_f
(self,filepath,headers={},expected_status_code=200)
teardown
(self)
v1GraphqlExplain
(self,q,headers={},expected_status_code=200)
All occurrences
Please wait...
Page is in error, reload to recover