les resultats ne sont pas fixes

This commit is contained in:
Auriane Lartigue 2022-01-14 13:07:35 +01:00
parent 66ab1cdde8
commit 07f25ee359

View file

@ -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()