Skip to content

Commit

Permalink
Update PyYaml library
Browse files Browse the repository at this point in the history
  • Loading branch information
Krithika Sundararajan committed Apr 26, 2024
1 parent 4e66bed commit 6ae5a8a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/e2e/test_validate_treatment.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from xp_client import XPClient

def test_validate_valid_treatment_with_url(xp_client: XPClient, httpserver):
# Mock external validation endpoint
# Start test server for external validation endpoint
httpserver.expect_request("/external", method="POST").respond_with_json({})

data = {
Expand All @@ -11,8 +11,8 @@ def test_validate_valid_treatment_with_url(xp_client: XPClient, httpserver):

result = xp_client.validate_treatment(data)

assert result.text == ""
assert result.status_code == 200
assert result.text == ""


def test_validate_valid_treatment_with_schema(xp_client: XPClient):
Expand Down
2 changes: 1 addition & 1 deletion tests/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PyYAML
PyYAML==6.0.1
google-cloud-pubsub==2.7.0
requests==2.26.0
pytest-httpserver==1.0.10
Expand Down

0 comments on commit 6ae5a8a

Please sign in to comment.