MCPcopy Index your code
hub / github.com/NextronSystems/valhallaAPI / test_demo_rules_text

Function test_demo_rules_text

tests/test_basic.py:153–161  ·  view source on GitHub ↗

Retrieves the demo rules from the rule feed :return:

()

Source from the content-addressed store, hash-verified

151
152
153def test_demo_rules_text():
154 """
155 Retrieves the demo rules from the rule feed
156 :return:
157 """
158 v = ValhallaAPI(api_key=DEMO_KEY)
159 response = v.get_rules_text()
160 assert RULES_TEXT in response
161 assert len(response) > 500
162
163
164def test_invalid_key():

Callers

nothing calls this directly

Calls 2

get_rules_textMethod · 0.95
ValhallaAPIClass · 0.90

Tested by

no test coverage detected