Beispiel #1
0
 def test_index_exists1(self):
     '''
     Test 
     '''
     result = st.index_exists({"ind1": "val1", "ind2": "val2"}, "ind1")
     self.assertIs(result, True)
Beispiel #2
0
 def test_index_exists3(self):
     '''
     Test 
     '''
     result = st.index_exists({"ind1": "val1", "ind2": "val2"}, "ind3")
     self.assertIs(result, False)