Lines Matching refs:table
96 table = mock.MockTable({'Key':'Value'})
97 self.assertEqual('Value', table.get('KEY'))
98 self.assertEqual('Value', table['key'])
101 table = mock.MockTable([('Key', 'Value')])
102 self.assertEqual('Value', table.get('KEY'))
103 self.assertEqual('Value', table['key'])
106 table = mock.MockTable((('Key', 'Value'),))
107 self.assertEqual('Value', table.get('KEY'))
108 self.assertEqual('Value', table['key'])
111 table = mock.MockTable()
112 self.assertEqual(None, table.get('Key'))
113 table['Key'] = 'Value'
114 self.assertEqual('Value', table.get('Key'))
115 self.assertEqual('Value', table.get('key'))
116 self.assertEqual('Value', table.get('KEY'))
117 self.assertEqual('Value', table['Key'])
118 self.assertEqual('Value', table['key'])
119 self.assertEqual('Value', table['KEY'])