Trying to retrieve info for a certain rule (the only one accessible with DEMO key) :return:
()
| 172 | |
| 173 | |
| 174 | def test_get_rule_info(): |
| 175 | """ |
| 176 | Trying to retrieve info for a certain rule (the only one accessible with DEMO key) |
| 177 | :return: |
| 178 | """ |
| 179 | v = ValhallaAPI(api_key=DEMO_KEY) |
| 180 | response = v.get_rule_info('Casing_Anomaly_ByPass') |
| 181 | assert len(response) > 1 |
| 182 | assert len(response['rule_matches']) > 0 |
| 183 | |
| 184 | |
| 185 | def test_get_hash_info(): |
nothing calls this directly
no test coverage detected