

def test_bulk_objs_status_code(self):
    params = '?bulk={"insert":[        {"rank":10, "score":8, "slug":"1", "artist":"Duke Elington", "song":"My Funny Valentine"},        {"rank":9,  "score":8, "slug":"2", "artist":"Duke Elington", "song":"500 Miles High"},\t\t{"rank":8,  "score":8, "slug":"3", "artist":"Duke Elington", "song":"Days of Wine and Roses"},\t\t{"rank":12, "score":6, "slug":"12","artist":"Duke Elington", "song":"All of Me"}        ]}'
    r = requests.post('{0}/{1}'.format(uri, params))
    self.assertEqual(r.status_code, 200)
    r.connection.close()

dataset/ETHPy150Open tgonzales/mingus/tests/test_bulk.py TestSequenceFunctions.test_bulk_objs_status_code/original