#NEWLINE# def test_suppl_volume_filter_with_number( self ) : #NEWLINE# #INDENT# "\n        test that create a supplement issue, with ``volume``, ``suppl_text`` and *NON* empty ``number`` fields.\n        then request the API, with filter ``suppl_volume`` and should return an empty list.\n        Because, the ``suppl_volume`` filter will apply always with ``number=''`` condition.\n        " #NEWLINE# issue = modelfactories . IssueFactory . create ( number = '999' , suppl_text = '2' , volume = '777' , type = 'supplement' ) #NEWLINE# response = self . app . get ( ( '/api/v2/issues/?suppl_volume=%s' % issue . volume ) , extra_environ = self . extra_environ ) #NEWLINE# content = json . loads ( response . content ) #NEWLINE# self . assertEqual ( response . status_code , 200 ) #NEWLINE# self . assertTrue ( ( 'objects' in response . content ) ) #NEWLINE# self . assertEqual ( len ( content [ 'objects' ] ) , 0 )