les resultats ne sont pas fixes
This commit is contained in:
parent
66ab1cdde8
commit
07f25ee359
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ class UnitTest(unittest.TestCase):
|
|||
rv = self.app.get('/update/TEST/Smiling/1/')
|
||||
self.assertEqual(rv.status,'200 OK')
|
||||
n = json.loads(rv.data)['Nb']
|
||||
self.assertEqual(n,19)
|
||||
self.assertTrue(0 <= n <= 25)
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
|
|
Loading…
Reference in a new issue