Skip to content

Commit

Permalink
tests: Flake8 complaining about too long line
Browse files Browse the repository at this point in the history
  • Loading branch information
txomon committed Aug 2, 2018
1 parent 418d512 commit 817eee7
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions tests/test_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,16 @@ async def test_get_track(db_conn, track_generator, track_dict, raises_exception)
({'extid': 'ab12', 'origin': (1, 2), 'length': 120, 'name': 'One name'}, AssertionError),
({'extid': 'ab12', 'origin': 'youtube', 'length': 120, 'name': 12345}, AssertionError),
({}, AssertionError),
], ids=['good_with_string', 'good_with_enum', 'good_with_float', 'bad_with_int', 'bad_with_string', 'bad_with_tuple', 'bad_with_int_name',
'bad_no_data'])
], ids=[
'good_with_string',
'good_with_enum',
'good_with_float',
'bad_with_int',
'bad_with_string',
'bad_with_tuple',
'bad_with_int_name',
'bad_no_data'
])
@pytest.mark.asyncio
async def test_save_track(db_conn, track_dict, raises_exception):
if raises_exception:
Expand Down

0 comments on commit 817eee7

Please sign in to comment.