From 3fbd3010cff373ba68ae53dd8689602a62679d44 Mon Sep 17 00:00:00 2001 From: lukas leufen <l.leufen@fz-juelich.de> Date: Wed, 4 Mar 2020 13:51:38 +0100 Subject: [PATCH] adjusted test function names --- test/test_model_modules/test_advanced_paddings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_model_modules/test_advanced_paddings.py b/test/test_model_modules/test_advanced_paddings.py index 7142e1c2..d7715917 100644 --- a/test/test_model_modules/test_advanced_paddings.py +++ b/test/test_model_modules/test_advanced_paddings.py @@ -116,7 +116,7 @@ class TestPadUtils: "or a tuple of 2 tuples of 2 ints ((top_pad, bottom_pad), (left_pad, right_pad)). Found: 1.2 of type " \ "<class 'float'>" in str(einfo.value) - def test_check_padding_format_tupe_of_tuple_none_integer_first(self): + def test_check_padding_format_tuple_of_tuple_none_integer_first(self): with pytest.raises(ValueError) as einfo: PadUtils.check_padding_format(((1., 2), (3, 4))) assert "`padding[0]` should have one or two elements of type int. Found:(1.0, 2) " \ @@ -132,7 +132,7 @@ class TestPadUtils: assert "`padding[0]` should have one or two elements of type int. Found:(1, '2') " \ "of type [<class 'int'>, <class 'str'>]" in str(einfo.value) - def test_check_padding_format_tupe_of_tuple_none_integer_second(self): + def test_check_padding_format_tuple_of_tuple_none_integer_second(self): with pytest.raises(ValueError) as einfo: PadUtils.check_padding_format(((1, 2), (3., 4))) assert "`padding[1]` should have one or two elements of type int. Found:(3.0, 4) " \ -- GitLab