File tree Expand file tree Collapse file tree 4 files changed +3
-7
lines changed
Expand file tree Collapse file tree 4 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 2222class KVStoreBatchTestCase (testlib .SDKTestCase ):
2323 def setUp (self ):
2424 super ().setUp ()
25- # self.service.namespace['owner'] = 'nobody'
2625 self .service .namespace ['app' ] = 'search'
2726 confs = self .service .kvstore
2827 if 'test' in confs :
Original file line number Diff line number Diff line change 2020class KVStoreConfTestCase (testlib .SDKTestCase ):
2121 def setUp (self ):
2222 super ().setUp ()
23- #self.service.namespace['owner'] = 'nobody'
2423 self .service .namespace ['app' ] = 'search'
2524 self .confs = self .service .kvstore
2625 if ('test' in self .confs ):
Original file line number Diff line number Diff line change 2323class KVStoreDataTestCase (testlib .SDKTestCase ):
2424 def setUp (self ):
2525 super ().setUp ()
26- # self.service.namespace['owner'] = 'nobody'
2726 self .service .namespace ['app' ] = 'search'
2827 self .confs = self .service .kvstore
2928 if ('test' in self .confs ):
@@ -84,8 +83,8 @@ def test_params_data_type_conversion(self):
8483 self .assertEqual (len (data ), 20 )
8584 for x in range (20 ):
8685 self .assertEqual (data [x ]['data' ], 39 - x )
87- self .assertTrue (not 'ignore' in data [x ])
88- self .assertTrue (not '_key' in data [x ])
86+ self .assertTrue ('ignore' not in data [x ])
87+ self .assertTrue ('_key' not in data [x ])
8988
9089 def tearDown (self ):
9190 if ('test' in self .confs ):
Original file line number Diff line number Diff line change 11from tests import testlib
2-
3- from utils import *
2+ from utils import dslice
43
54TEST_DICT = {
65 'username' : 'admin' ,
You can’t perform that action at this time.
0 commit comments