Преглед изворни кода

add mock responses for api lines call

Kimberly Meechan пре 2 месеци
родитељ
комит
7e0b7d8963
3 измењених фајлова са 20 додато и 0 уклоњено
  1. 10 0
      pyrat-api-lines-response-1.json
  2. 6 0
      pyrat-api-lines-response-2.json
  3. 4 0
      pyrat-api-lines.csv

+ 10 - 0
pyrat-api-lines-response-1.json

@@ -0,0 +1,10 @@
+[
+    {
+        "id": 1,
+        "name": "Line-A"
+    },
+    {
+        "id": 2,
+        "name": "Line-B"
+    }
+]

+ 6 - 0
pyrat-api-lines-response-2.json

@@ -0,0 +1,6 @@
+[
+    {
+        "id": 3,
+        "name": "Line-C"
+    }
+]

+ 4 - 0
pyrat-api-lines.csv

@@ -0,0 +1,4 @@
+id,name
+1,Line-A
+2,Line-B
+3,Line-C