Retrieves the demo rules from the rule feed :return:
()
| 151 | |
| 152 | |
| 153 | def 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 | |
| 164 | def test_invalid_key(): |
nothing calls this directly
no test coverage detected