Skip to content

Commit

Permalink
Hints should not be in repeats
Browse files Browse the repository at this point in the history
  • Loading branch information
yanokwa committed Sep 11, 2019
1 parent 5e84389 commit d484964
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pyxform/tests_v1/test_repeat.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,8 @@ def test_indexed_repeat_relative_path(self):
],
)

def test_hints_are_present_within_repeats(self):
"""Hints are present within repeats"""
def test_hints_are_not_present_within_repeats(self):
"""Hints are not present within repeats"""
md = """
| survey | | | | |
| | type | name | label | hint |
Expand All @@ -208,7 +208,6 @@ def test_hints_are_present_within_repeats(self):
expected = """
<group ref="/pyxform_autotestname/pets">
<label>Pets</label>
<hint>Pet details</hint>
<repeat nodeset="/pyxform_autotestname/pets">
<input ref="/pyxform_autotestname/pets/pets_name">
<label>Pet's name</label>
Expand Down

0 comments on commit d484964

Please sign in to comment.