diff --git a/hivemind/tavern/condenser_api_patterns/get_follow_count.orig.json b/hivemind/tavern/condenser_api_patterns/get_follow_count.orig.json deleted file mode 100644 index 7136d8ae93a2a9926c09af39cb24d65ce7c702e8..0000000000000000000000000000000000000000 --- a/hivemind/tavern/condenser_api_patterns/get_follow_count.orig.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "account": "steemit", - "follower_count": 175, - "following_count": 0 -} \ No newline at end of file diff --git a/hivemind/tavern/condenser_api_patterns/get_follow_count.pat.json b/hivemind/tavern/condenser_api_patterns/get_follow_count.pat.json deleted file mode 100644 index 7136d8ae93a2a9926c09af39cb24d65ce7c702e8..0000000000000000000000000000000000000000 --- a/hivemind/tavern/condenser_api_patterns/get_follow_count.pat.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "account": "steemit", - "follower_count": 175, - "following_count": 0 -} \ No newline at end of file diff --git a/hivemind/tavern/condenser_api_patterns/get_follow_count_following_and_followers.orig.json b/hivemind/tavern/condenser_api_patterns/get_follow_count_following_and_followers.orig.json deleted file mode 100644 index 8c0f1f5e7ab28539531fd782f176a7d6aec50762..0000000000000000000000000000000000000000 --- a/hivemind/tavern/condenser_api_patterns/get_follow_count_following_and_followers.orig.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "account": "gtg", - "following_count": 31, - "follower_count": 80 -} \ No newline at end of file diff --git a/hivemind/tavern/condenser_api_patterns/get_follow_count_following_and_followers.pat.json b/hivemind/tavern/condenser_api_patterns/get_follow_count_following_and_followers.pat.json deleted file mode 100644 index 8c0f1f5e7ab28539531fd782f176a7d6aec50762..0000000000000000000000000000000000000000 --- a/hivemind/tavern/condenser_api_patterns/get_follow_count_following_and_followers.pat.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "account": "gtg", - "following_count": 31, - "follower_count": 80 -} \ No newline at end of file diff --git a/hivemind/tavern/condenser_api_patterns/get_follow_count_no_followers.orig.json b/hivemind/tavern/condenser_api_patterns/get_follow_count_no_followers.orig.json deleted file mode 100644 index 3d80965b6d2e31ee409e1337674e914d6c69b428..0000000000000000000000000000000000000000 --- a/hivemind/tavern/condenser_api_patterns/get_follow_count_no_followers.orig.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "account": "test2", - "follower_count": 0, - "following_count": 0 -} \ No newline at end of file diff --git a/hivemind/tavern/condenser_api_patterns/get_follow_count_no_followers.pat.json b/hivemind/tavern/condenser_api_patterns/get_follow_count_no_followers.pat.json deleted file mode 100644 index 3d80965b6d2e31ee409e1337674e914d6c69b428..0000000000000000000000000000000000000000 --- a/hivemind/tavern/condenser_api_patterns/get_follow_count_no_followers.pat.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "account": "test2", - "follower_count": 0, - "following_count": 0 -} \ No newline at end of file diff --git a/hivemind/tavern/test_condenser_api_patterns.tavern.yaml b/hivemind/tavern/test_condenser_api_patterns.tavern.yaml index 0afdadcf2bc83316d7c0f316358ab0eb6255365a..7f2633226f309cfaed1e117cb5faf429e59c7c51 100644 --- a/hivemind/tavern/test_condenser_api_patterns.tavern.yaml +++ b/hivemind/tavern/test_condenser_api_patterns.tavern.yaml @@ -1,87 +1,3 @@ ---- - test_name: Hivemind condenser_api.get_follow_count patterns test - - marks: - - patterntest - - includes: - - !include common.yaml - - stages: - - name: get_follow_count - request: - url: "{service.proto:s}://{service.server:s}:{service.port}/" - method: POST - headers: - content-type: application/json - json: - jsonrpc: "2.0" - id: 1 - method: "condenser_api.get_follow_count" - params: ["steemit"] - response: - status_code: 200 - verify_response_with: - function: validate_response:compare_response_with_pattern - extra_kwargs: - method: "get_follow_count" - directory: "condenser_api_patterns" ---- - test_name: Hivemind condenser_api.get_follow_count following and followers patterns test - - marks: - - patterntest - - includes: - - !include common.yaml - - stages: - - name: get_follow_count following and followers - request: - url: "{service.proto:s}://{service.server:s}:{service.port}/" - method: POST - headers: - content-type: application/json - json: - jsonrpc: "2.0" - id: 1 - method: "condenser_api.get_follow_count" - params: ["gtg"] - response: - status_code: 200 - verify_response_with: - function: validate_response:compare_response_with_pattern - extra_kwargs: - method: "get_follow_count_following_and_followers" - directory: "condenser_api_patterns" ---- - test_name: Hivemind condenser_api.get_follow_count_no_followers patterns test - - marks: - - patterntest - - includes: - - !include common.yaml - - stages: - - name: get_follow_count - request: - url: "{service.proto:s}://{service.server:s}:{service.port}/" - method: POST - headers: - content-type: application/json - json: - jsonrpc: "2.0" - id: 1 - method: "condenser_api.get_follow_count" - params: ["test2"] - response: - status_code: 200 - verify_response_with: - function: validate_response:compare_response_with_pattern - extra_kwargs: - method: "get_follow_count_no_followers" - directory: "condenser_api_patterns" --- test_name: Hivemind condenser_api.get_content patterns test