Skip to content

Commit 4d4b245

Browse files
test: update plot_haplotype_network assertions for _partition column
1 parent cd5bb3a commit 4d4b245

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

tests/integration/test_af1.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def test_plot_haplotype_network_string_direct(mocker):
110110

111111
assert mock_mjn.called
112112
call_args = mock_mjn.call_args[1]
113-
assert call_args["color"] == "partition"
113+
assert call_args["color"] == "_partition"
114114
assert call_args["ht_color_counts"] is not None
115115

116116

@@ -132,7 +132,7 @@ def test_plot_haplotype_network_string_cohort(mocker):
132132

133133
assert mock_mjn.called
134134
call_args = mock_mjn.call_args[1]
135-
assert call_args["color"] == "partition"
135+
assert call_args["color"] == "_partition"
136136
assert call_args["ht_color_counts"] is not None
137137

138138

@@ -155,7 +155,7 @@ def test_plot_haplotype_network_mapping(mocker):
155155

156156
assert mock_mjn.called
157157
call_args = mock_mjn.call_args[1]
158-
assert call_args["color"] == "partition"
158+
assert call_args["color"] == "_partition"
159159
assert call_args["ht_color_counts"] is not None
160160

161161

tests/integration/test_ag3.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ def test_plot_haplotype_network_string_direct(mocker):
208208

209209
assert mock_mjn.called
210210
call_args = mock_mjn.call_args[1]
211-
assert call_args["color"] == "partition"
211+
assert call_args["color"] == "_partition"
212212
assert call_args["ht_color_counts"] is not None
213213

214214

@@ -230,7 +230,7 @@ def test_plot_haplotype_network_string_cohort(mocker):
230230

231231
assert mock_mjn.called
232232
call_args = mock_mjn.call_args[1]
233-
assert call_args["color"] == "partition"
233+
assert call_args["color"] == "_partition"
234234
assert call_args["ht_color_counts"] is not None
235235

236236

@@ -253,7 +253,7 @@ def test_plot_haplotype_network_mapping(mocker):
253253

254254
assert mock_mjn.called
255255
call_args = mock_mjn.call_args[1]
256-
assert call_args["color"] == "partition"
256+
assert call_args["color"] == "_partition"
257257
assert call_args["ht_color_counts"] is not None
258258

259259

0 commit comments

Comments
 (0)