Пример #1
0
 def _set_connection(self, start_node, end_node):
     h.insert_multiple_values(self._connections, start_node, end_node)
     h.insert_multiple_values(self._connections, end_node, start_node)
Пример #2
0
def test_insert_multiple_values_in_dictionary():
    adict = {}
    h.insert_multiple_values(adict, 'akey', 'avalue')
    assert adict == {'akey': {'avalue'}}