Skip to content

Commit cdba02a

Browse files
committed
Make sure tests have unique names
1 parent 2e48b5f commit cdba02a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/test_range.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ def test_parameter_greater_than_range__ok(self):
295295
)
296296

297297
def test_tick_interval_not_a_multiple_of_step__error(self):
298-
"""Should raise an error if the relevant ticks parameter is not a multiple of 'step'."""
298+
"""Should raise an error if tick interval is not a multiple of 'step'."""
299299
# RI003 RP001
300300
md = """
301301
| survey |
@@ -313,12 +313,12 @@ def test_tick_interval_not_a_multiple_of_step__error(self):
313313
],
314314
)
315315

316-
def test_tick_interval_not_a_multiple_of_step__error(self):
316+
def test_placeholder_not_a_multiple_of_step__error(self):
317317
"""Should raise an error if the placeholder is not a multiple of 'step' starting at 'start'."""
318318
# RI003 RP001
319319
md = """
320320
| survey |
321-
| | type | name | label | parameters |
321+
| | type | name | label | parameters |
322322
| | range | q1 | Q1 | start=-3 end=3 step=2 placeholder={value} |
323323
"""
324324
cases = ("-2", "2", "0")

0 commit comments

Comments
 (0)