Skip to content

Commit 927ad24

Browse files
committed
run format & lint
1 parent 4b64ce9 commit 927ad24

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

tests/integration/ha_tests/helpers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -902,6 +902,7 @@ async def create_test_data(connection_string):
902902
assert data[0] == "some data"
903903
connection.close()
904904

905+
905906
async def get_last_added_unit(ops_test, app, prev_units):
906907
curr_units = [unit.name for unit in ops_test.model.applications[app].units]
907908
new_unit = list(set(curr_units) - set(prev_units))[0]

tests/integration/ha_tests/test_self_healing.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
fetch_cluster_members,
3636
get_controller_machine,
3737
get_db_connection,
38+
get_last_added_unit,
3839
get_patroni_setting,
3940
get_primary,
4041
get_unit_ip,
@@ -54,7 +55,7 @@
5455
storage_type,
5556
update_restart_condition,
5657
validate_test_data,
57-
wait_network_restore, get_last_added_unit,
58+
wait_network_restore,
5859
)
5960

6061
logger = logging.getLogger(__name__)

0 commit comments

Comments
 (0)