replace behave BDD API tests with pytest-bdd tests

This commit is contained in:
Sarah Hoffmann
2025-03-18 11:19:06 +01:00
parent 50d4b0a386
commit 6959577aa4
51 changed files with 2975 additions and 2132 deletions

View File

@@ -0,0 +1,15 @@
Feature: Status queries
Testing status query
Scenario: Status as text
When sending v1/status
Then a HTTP 200 is returned
And the page content equals "OK"
Scenario: Status as json
When sending v1/status with format json
Then a HTTP 200 is returned
And the result is valid json
And the result contains
| status!:d | message | data_updated!fm |
| 0 | OK | ....-..-..T..:..:...00:00 |