Add 'cryptography' package to test-requirements.txt

When running the functional tests locally:

  tox -efunctional

the following error is raised from 6 tests in the
placement.tests.functional.db.test_migrations module:

  RuntimeError: 'cryptography' package is required for sha256_password
  or caching_sha2_password auth methods

This adds the 'cryptography' package to the list of required packages
for tests.

Story: 2008832
Task: 42317

Change-Id: I78fbdd723be089364b8ee61432eeb74ed6f24094
This commit is contained in:
melanie witt 2021-04-20 20:28:40 +00:00
parent 91b0ff8849
commit 2316f95a49
2 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,7 @@ attrs==17.4.0
bandit==1.1.0
colorama==0.3.9
coverage==4.0
cryptography==2.7
debtcollector==1.19.0
decorator==3.4.0
extras==1.0.0

View File

@ -19,6 +19,7 @@ bandit>=1.1.0 # Apache-2.0
gabbi>=1.35.0 # Apache-2.0
# placement functional tests
cryptography>=2.7
wsgi-intercept>=1.7.0 # MIT License
# needed to generate osprofiler config options