mirror of
https://github.com/FlipsideCrypto/livequery-base.git
synced 2026-02-06 03:07:13 +00:00
remove analysis/generate_test_udf_skeletorn
This commit is contained in:
parent
09fb64fcbe
commit
c92ab027df
@ -1,45 +0,0 @@
|
||||
{# {% set schema = "strangelove" %}
|
||||
{% set config = fromyaml(config_strangelove_udfs(schema_name = schema, utils_schema_name = "quicknode_utils")) %}
|
||||
{% set raw_test_queries %}
|
||||
strangelove.get:
|
||||
- |
|
||||
'https://api.strange.love/cosmoshub/mainnet/rpc/block_by_hash'
|
||||
- |
|
||||
{
|
||||
'blockHash': '0xD70952032620CC4E2737EB8AC379806359D8E0B17B0488F627997A0B043ABDED'
|
||||
}
|
||||
|
||||
|
||||
strangelove.post:
|
||||
- |
|
||||
'https://endpoint'
|
||||
- |
|
||||
{
|
||||
'foo': 'bar'
|
||||
}
|
||||
|
||||
{% endset %}
|
||||
{% set test_queries = fromyaml(raw_test_queries) %}
|
||||
{{ test_queries }}
|
||||
{{ schema }}
|
||||
_____
|
||||
columns:
|
||||
{%- for item in config %}
|
||||
- name: {{ item["name"] | replace(schema~".", "") }}
|
||||
tests:
|
||||
- test_marketplace_udf:
|
||||
name: test_{{ item["name"].replace(".", "__") ~ "_status_200" }}
|
||||
args: >
|
||||
{{ test_queries[item["name"]] | join(", ") | indent(16) }}
|
||||
validations:
|
||||
- result:status_code = 200
|
||||
{%- endfor %}
|
||||
|
||||
=====================
|
||||
|
||||
{{ config | pprint}}
|
||||
{# {% for item in config %}
|
||||
{% if item["return_type"][0] != "VARIANT"%}
|
||||
{{ item["return_type"][0] }}
|
||||
{% endif %}
|
||||
{% endfor %} #} #}
|
||||
Loading…
Reference in New Issue
Block a user