Skip to content

Commit

Permalink
Fix tests broken by vault token format changes
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpops committed Apr 24, 2023
1 parent 9ca6842 commit c1cc63f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_vault_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def vault_service(docker_ip, docker_services):

assert requests.get(url).status_code == 200

token = re.search("Root Token: (s\.\w+)", str(output)).groups()[0]
token = re.search("Root Token: ([^\.]+\.\w+)", str(output)).groups()[0]

return {"token": token, "url": url}

Expand Down

0 comments on commit c1cc63f

Please sign in to comment.