[Kimchi-devel] [PATCH] [Wok 2/2] Update tests

Lucio Correia luciojhc at linux.vnet.ibm.com
Wed Aug 10 18:08:13 UTC 2016


Now with variable keys in the record, this test does not make
sense. Remove it.

Signed-off-by: Lucio Correia <luciojhc at linux.vnet.ibm.com>
---
 tests/test_api.py | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/tests/test_api.py b/tests/test_api.py
index c4ca755..f2e252a 100644
--- a/tests/test_api.py
+++ b/tests/test_api.py
@@ -83,9 +83,5 @@ class APITests(unittest.TestCase):
         records = conf.get('records', [])
         self.assertGreaterEqual(records, 1)
         for record in records:
-            keys = [u'zone', u'ip', u'app', u'req', u'user', u'time', u'date',
-                    u'message', u'msgCode', u'status']
-            self.assertEquals(sorted(keys), sorted(record.keys()))
-
             # Test search by app
             self.assertEquals(record['app'], 'wok')
-- 
1.9.1




More information about the Kimchi-devel mailing list