Skip to content

Commit e38b397

Browse files
chore: remove test folder (keploy#28)
* Revert "fix: docker and readme instruction" This reverts commit 1195b76. * fix: refactor flask-mongo change Signed-off-by: Animesh Pathak <kurosakiichigo.songoku@gmail.com> * feat: Created a sample app using flask and redis Signed-off-by: Aman172003 <tej171995@gmail.com> * feat: Created a sample app using flask and redis Signed-off-by: Aman172003 <tej171995@gmail.com> * changes Signed-off-by: Aman172003 <tej171995@gmail.com> * init Signed-off-by: Aman172003 <tej171995@gmail.com> * initialized Signed-off-by: Aman172003 <tej171995@gmail.com> * updated Signed-off-by: Aman172003 <tej171995@gmail.com> * removed errors Signed-off-by: Aman172003 <tej171995@gmail.com> * chore: remove keploy folder Signed-off-by: Animesh Pathak <kurosakiichigo.songoku@gmail.com> --------- Signed-off-by: Animesh Pathak <kurosakiichigo.songoku@gmail.com> Signed-off-by: Aman172003 <tej171995@gmail.com> Co-authored-by: Aman172003 <tej171995@gmail.com>
1 parent b106a5e commit e38b397

25 files changed

+6
-2226
lines changed

django-postgres/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ git clone https://github.com/keploy/samples-python.git && cd samples-python/djan
2020
Keploy can be installed on Linux directly and on Windows with the help of WSL. Based on your system architecture, install the keploy latest binary release
2121

2222
```bash
23-
curl -O https://raw.githubusercontent.com/keploy/keploy/main/keploy.sh && source keploy.sh
23+
curl -O https://keploy.io/install.sh && source install.sh
2424
keploy
2525
```
2626

@@ -92,13 +92,13 @@ This will return all the data saved in the database.
9292
### Make a GET request to get a specific data
9393

9494
```bash
95-
curl --location 'http://127.0.0.1:8000/user/c793c752-ad95-4cff-8cbe-5715a1e8a76e/'
95+
curl --location 'http://127.0.0.1:8000/user/<USER_ID>'
9696
```
9797

9898
### Make a PUT request to update a specific data
9999

100100
```bash
101-
curl --location --request PUT 'http://127.0.0.1:8000/user/efbe12df-3cae-4cbc-b045-dc74840aa82b/' \
101+
curl --location --request PUT 'http://127.0.0.1:8000/user/<USER_ID>' \
102102
--header 'Content-Type: application/json' \
103103
--data-raw ' {
104104
"name": "Jane Smith",
@@ -111,7 +111,7 @@ curl --location --request PUT 'http://127.0.0.1:8000/user/efbe12df-3cae-4cbc-b04
111111
### Make a DELETE request to delete a specific data
112112

113113
```bash
114-
curl --location --request DELETE 'http://127.0.0.1:8000/user/ee2af3fc-0503-4a6a-a452-b7d8c87a085b/'
114+
curl --location --request DELETE 'http://127.0.0.1:8000/user/<USER_ID>'
115115
```
116116

117117
Now both these API calls were captured as **editable** testcases and written to `keploy/tests` folder. The keploy directory would also have `mocks` file that contains all the outputs of postgres operations.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)