Choose float values that have no rounding issue on python 2.5 for the float multiplication test

This commit is contained in:
Christophe de Vienne 2013-01-17 23:20:46 +01:00
parent b33177ab70
commit b7ede0b27f

View File

@ -210,11 +210,11 @@ class TestController(unittest.TestCase):
self.assertEquals(res.body, b('10'))
res = app.get('/mul_float?a=2.2&b=4', headers={
res = app.get('/mul_float?a=1.2&b=2.9', headers={
'Accept': 'application/json'
})
self.assertEquals(res.body, b('8.8'))
self.assertEquals(res.body, b('3.48'))
res = app.get('/mul_string?a=hello&b=2', headers={
'Accept': 'application/json'