Skip to content

Commit

Permalink
Ohhhh ok, flakes now...
Browse files Browse the repository at this point in the history
  • Loading branch information
AuHau committed Aug 7, 2018
1 parent 4dc1156 commit 319e056
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/unit/test_question.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,8 @@ def do_test(path, result=True):
do_test('{}/{}'.format('a'*255, 'b'*255), True)

# Path component must not contains null bytes
do_test('some/path/with/{}byte'.format(b'\x00'.decode('utf-8')), False)
do_test('some/path/with/{}byte'.format(b'\x00'.decode('utf-8')),
False)

def test_path_type_validation_no_existence_check(self):
def do_test(path_type, path, result=True):
Expand Down

0 comments on commit 319e056

Please sign in to comment.