Пример #1
0
 def test_get_curve(self):
     c = CurveDB.create([1,4,2])
     c.save()
     tic = time.time()
     for i in range(10):
         CurveDB.objects.get(id=c.id)
     print_and_log("time for getting 1 curve: ", (time.time() - tic)/10)