def test_track_removal(self):

        resp = self.post('/playlists/', data=self.get_payload())
        nose.eq_(resp.status_code, 201)
        playlist_url = '/playlists/%s/' % resp.json['id']
        add_url = '/playlists/%s/add/' % resp.json['id']

        track = self.mk_track()
        resp = self.post(add_url, data={'track': track.pk, 'index': 0})
        nose.eq_(resp.status_code, 204)

        resp = self.delete('/tracks/%s/' % track.pk)
        nose.eq_(resp.status_code, 204)

        resp = self.get(playlist_url)
        nose.eq_(resp.json['length'], 0)
Returns the maximum of an array or the maximum along an axis.
dataset/ETHPy150Open tooxie/shiva-server/tests/integration/resource-playlists-test.py/PlaylistsResourceTestCase.test_track_removal--crossover with--dataset/ETHPy150Open pfnet/chainer/cupy/statistics/order.py/amax