'Testing whether an error is returned when we start a torrent download and pass wrong data'

@deferred(timeout=10)
def test_start_download_bad_params(self):

    self.should_check_equality = False
    post_data = {'anon_hops': 1, 'safe_seeding': 0, 'uri': 'abcd'}
    return self.do_request('downloads', expected_code=400, request_type='PUT', post_data=post_data)
