mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2025-07-09 07:34:04 +00:00
Fix tests
Increased the version of pytest to make it work with py 3.10 [0]. The GET calls no longer return list but the object itself, fixed the tests and assertions to account for that. The tests did not account for the later added `allow_user_remove_domain` setting. And there were issues with missing and non-stopped patchers/mocks. Now all tests are at least passing. [0] https://github.com/pytest-dev/pytest/pull/8540
This commit is contained in:
@ -22,7 +22,7 @@ Flask-SeaSurf==1.1.1
|
||||
bravado-core==5.17.0
|
||||
jsonschema[format]>=2.5.1,<4.0.0 # until https://github.com/Yelp/bravado-core/pull/385
|
||||
lima==0.5
|
||||
pytest==6.1.1
|
||||
pytest==6.2.5
|
||||
pytimeparse==1.1.8
|
||||
PyYAML==5.4
|
||||
Flask-SSLify==0.1.5
|
||||
|
Reference in New Issue
Block a user