Skip to content

Commit

Permalink
Merge pull request #56 from dolevf/blackhatgraphql
Browse files Browse the repository at this point in the history
Test, version
  • Loading branch information
nicholasaleks authored Jul 7, 2022
2 parents a181ebb + 1f92c3f commit da68382
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_queries.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ def test_query_systemDebug():
'''
r = graph_query(GRAPHQL_URL, query)
assert r.status_code == 200
assert 'COMMAND' in r.json()['data']['systemDebug']

systemdebug_indicators = ['TTY', 'COMMAND']
assert any(substring in r.json()['data']['systemDebug'] for substring in systemdebug_indicators)

def test_query_users():
query = '''
Expand Down

0 comments on commit da68382

Please sign in to comment.