~cypheon/dronecov

daf17a6193508decad5fd450fe9043fc86032bde — Johann Rudloff 2 years ago d744cf8
Add IDs to all test stages in preparation for tavern upgrade.
2 files changed, 6 insertions(+), 0 deletions(-)

M tests/test_auth.tavern.yaml
M tests/test_minimal.tavern.yaml
M tests/test_auth.tavern.yaml => tests/test_auth.tavern.yaml +2 -0
@@ 3,6 3,7 @@ test_name: Access without token and with invalid token is rejectd

stages:
  - name: POST without token
    id: post_without_token

    request:
      url: '{host}/testuser/testrepo/master/coverage'


@@ 18,6 19,7 @@ stages:


  - name: POST with invalid token
    id: post_invalid_token

    request:
      url: '{host}/testuser/testrepo/master/coverage'

M tests/test_minimal.tavern.yaml => tests/test_minimal.tavern.yaml +4 -0
@@ 3,6 3,7 @@ test_name: POST coverage report and verify returned SVG

stages:
  - name: post initial coverage
    id: post_initial_coverage

    request:
      url: '{host}/testuser/testrepo/master/coverage'


@@ 18,6 19,7 @@ stages:
      status_code: 201

  - name: verify returned coverage is correct
    id: coverage_correct

    request:
      url: '{host}/testuser/testrepo/master/coverage.svg'


@@ 35,6 37,7 @@ stages:


  - name: update coverage
    id: update_coverage

    request:
      url: '{host}/testuser/testrepo/master/coverage'


@@ 50,6 53,7 @@ stages:
      status_code: 201

  - name: verify updated coverage is returned correctly
    id: updated_coverage_correct

    request:
      url: '{host}/testuser/testrepo/master/coverage.svg'