Skip to content

Commit 90659b6

Browse files
authored
Merge pull request #44 from python-microservices/feature/security_tests
Added bandit, safety and pytest
2 parents 467a6f8 + 19fd102 commit 90659b6

8 files changed

+272
-26
lines changed

Pipfile

+5-2
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,13 @@ flask-opentracing = "*"
1616
[dev-packages]
1717
requests-mock = "*"
1818
coverage = "*"
19-
mock = "*"
20-
nose = "*"
19+
pytest = "*"
20+
pytest-cov = "*"
2121
pylint = "*"
2222
tox = "*"
23+
safety = "*"
24+
bandit = "*"
25+
mkdocs = "*"
2326

2427
[requires]
2528
python_version = "3.6"

Pipfile.lock

+183-11
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

requirements-tests.txt

+69
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
anyconfig==0.9.8
2+
astroid==2.2.0.dev0
3+
atomicwrites==1.2.1
4+
attrs==18.2.0
5+
bandit==1.5.1
6+
basictracer==3.0.0
7+
certifi==2018.11.29
8+
chardet==3.0.4
9+
Click==7.0
10+
clickclick==1.2.2
11+
connexion==2018.0.dev1
12+
coverage==5.0a4
13+
coveralls==1.5.1
14+
docopt==0.6.2
15+
dparse==0.4.1
16+
filelock==3.0.10
17+
Flask==1.0.2
18+
Flask-OpenTracing==1.0.0
19+
gitdb2==2.0.5
20+
GitPython==2.1.11
21+
googleapis-common-protos==1.5.3
22+
idna==2.8
23+
inflection==0.3.1
24+
isort==4.3.4
25+
itsdangerous==1.1.0
26+
Jinja2==2.10
27+
jsonpickle==1.1
28+
jsonschema==2.6.0
29+
lazy-object-proxy==1.3.1
30+
lightstep==4.0.2
31+
livereload==2.6.0
32+
Markdown==3.0.1
33+
MarkupSafe==1.1.0
34+
mccabe==0.6.1
35+
mkdocs==1.0.4
36+
mock==2.0.0
37+
more-itertools==5.0.0
38+
nose==1.3.7
39+
openapi-spec-validator==0.2.4
40+
opentracing==2.0.0
41+
packaging==19.0
42+
pbr==5.1.1
43+
pluggy==0.8.1
44+
protobuf==3.6.1
45+
py==1.7.0
46+
py-ms==1.0.0
47+
pylint==2.3.0.dev1
48+
pyparsing==2.3.1
49+
pytest==4.1.1
50+
pytest-cov==2.6.1
51+
python-coveralls==2.9.1
52+
python-json-logger==0.1.10
53+
PyYAML==4.2b4
54+
requests==2.21.0
55+
requests-mock==1.5.2
56+
safety==1.8.4
57+
six==1.12.0
58+
smmap2==2.0.5
59+
stevedore==1.30.0
60+
swagger-ui-bundle==0.0.3
61+
thrift==0.10.0
62+
toml==0.10.0
63+
tornado==6.0a1
64+
tox==3.7.0
65+
typed-ast==1.1.0
66+
urllib3==1.24.1
67+
virtualenv==16.3.0
68+
Werkzeug==0.14.1
69+
wrapt==1.11.1

tests/swagger.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ paths:
4242
description: "Example"
4343
405:
4444
description: "Invalid input"
45-
x-swagger-router-controller: "tests.tests_flask"
45+
x-swagger-router-controller: "tests.test_flask"
4646
externalDocs:
4747
description: "Find out more about Swagger"
4848
url: "http://swagger.io"
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)