Skip to content

Commit 56f473a

Browse files
committed
Passed the tests. I am not going to check that it does what I want until I have had dinner.
1 parent ba7a7ed commit 56f473a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/anoph/test_hap_frq.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,11 +148,11 @@ def test_hap_frequencies_with_str_cohorts(
148148
# Test behaviour with bad cohorts param.
149149
if cohorts == "foobar":
150150
with pytest.raises(ValueError):
151-
api.haplotype_frequencies(**params)
151+
api.haplotypes_frequencies(**params)
152152
return
153153

154154
# Run the function under test.
155-
df_hap = api.haplotype_frequencies(**params)
155+
df_hap = api.haplotypes_frequencies(**params)
156156

157157
# Standard checks.
158158
check_hap_frequencies(
@@ -187,7 +187,7 @@ def test_hap_frequencies_advanced(
187187
)
188188

189189
# Run the other function under test.
190-
ds_hap = api.haplotype_frequencies_advanced(**params_advanced)
190+
ds_hap = api.haplotypes_frequencies_advanced(**params_advanced)
191191

192192
# Standard checks.
193193
check_hap_frequencies_advanced(api=api, ds=ds_hap)

0 commit comments

Comments
 (0)