File tree Expand file tree Collapse file tree 2 files changed +15
-3
lines changed
Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 1515``` bash
1616ddev add-on get https://github.com/stasadev/ddev-python2/tarball/refs/pull/REPLACE_ME_WITH_THIS_PR_NUMBER/head
1717ddev restart
18- ddev exec python -V
18+ ddev exec python --version
1919```
2020
2121## Automated Testing Overview
Original file line number Diff line number Diff line change @@ -39,13 +39,25 @@ setup() {
3939}
4040
4141health_checks () {
42- run ddev exec python -V
42+ run ddev exec python --version
4343 assert_success
4444 assert_output " Python 2.7.18"
4545
46- run ddev exec python2.7 -V
46+ run ddev exec python2.7 --version
4747 assert_success
4848 assert_output " Python 2.7.18"
49+
50+ run ddev exec pip --version
51+ assert_success
52+ assert_output " pip 20.0.2 from /usr/local/lib/python2.7/site-packages/pip (python 2.7)"
53+
54+ run python -c " import hashlib; print('MD5:', hashlib.md5('test').hexdigest())"
55+ assert_success
56+ assert_output " ('MD5:', '098f6bcd4621d373cade4e832627b4f6')"
57+
58+ run python -c " import ssl; print('SSL:', ssl.OPENSSL_VERSION)"
59+ assert_success
60+ assert_output " ('SSL:', 'OpenSSL 1.1.1d 10 Sep 2019')"
4961}
5062
5163teardown () {
You can’t perform that action at this time.
0 commit comments