Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
dragomirp committed Jun 4, 2024
1 parent b56ccd1 commit ed18e7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/test_cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def test_get_alternative_patroni_url(peers_ips, patroni):
for attempt_number in range(attempt.retry_state.attempt_number + 1, len(peers_ips) + 2):
attempt.retry_state.attempt_number = attempt_number
url = patroni._get_alternative_patroni_url(attempt)
tc.assertIn(url.split("http://")[1].split(":8008")[0], peers_ips)
assert url.split("http://")[1].split(":8008")[0] in peers_ips


def test_get_member_ip(peers_ips, patroni):
Expand Down

0 comments on commit ed18e7c

Please sign in to comment.