File tree Expand file tree Collapse file tree 5 files changed +10
-10
lines changed Expand file tree Collapse file tree 5 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 1
1
import pytest
2
2
import requests
3
3
# e2e tests for flask_mysql sample app
4
- post_url_fw = "http://localhost:8084 /create"
5
- post_url_nofw = "http://localhost:8085 /create"
4
+ post_url_fw = "http://localhost:8094 /create"
5
+ post_url_nofw = "http://localhost:8095 /create"
6
6
7
- post_json_url_fw = "http://localhost:8084 /auth"
8
- post_json_url_nofw = "http://localhost:8085 /auth"
7
+ post_json_url_fw = "http://localhost:8094 /auth"
8
+ post_json_url_nofw = "http://localhost:8095 /auth"
9
9
10
10
# Create dogs:
11
11
def test_create_dog_fw ():
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ Overview :
8
8
- Runs on 8082. Without Aikido runs on 8083
9
9
- ` flask-mongo/ ` is a Flask app using MongoDB.
10
10
- It runs ** multi-threaded**
11
- - Runs on 8084 . Without Aikido runs on 8085
11
+ - Runs on 8094 . Without Aikido runs on 8095
12
12
- ` flask-mysql/ ` is a Flask app using MySQL.
13
13
- It runs ** single-threaded**
14
14
- Runs on 8086. Without Aikido runs on 8087
Original file line number Diff line number Diff line change @@ -7,6 +7,6 @@ Run (with docker-compose installed) :
7
7
docker-compose up --build
8
8
```
9
9
10
- - You'll be able to access the Flask Server at : [ localhost:8084 ] ( http://localhost:8084 )
11
- - To Create a reference test dog use ` http://localhost:8084 /create/ `
12
- - To test the nosql injection go to ` http://localhost:8084 /auth/ `
10
+ - You'll be able to access the Flask Server at : [ localhost:8094 ] ( http://localhost:8094 )
11
+ - To Create a reference test dog use ` http://localhost:8094 /create/ `
12
+ - To test the nosql injection go to ` http://localhost:8094 /auth/ `
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ services:
7
7
volumes :
8
8
- .:/app
9
9
ports :
10
- - " 8085 :5000"
10
+ - " 8095 :5000"
11
11
depends_on :
12
12
- db
13
13
networks :
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ services:
27
27
volumes :
28
28
- .:/app
29
29
ports :
30
- - " 8084 :5000"
30
+ - " 8094 :5000"
31
31
depends_on :
32
32
- db
33
33
networks :
You can’t perform that action at this time.
0 commit comments