Skip to content
Snippets Groups Projects
Commit 9fb94daa authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

testme

parent de136a11
No related branches found
No related tags found
No related merge requests found
......@@ -13,6 +13,24 @@ class TestMergeDicts(unittest.TestCase):
fout.write(b'{"a":2}')
def test_advanced_merge_dicts(self):
DA = {
'kupujemy': {
'ciekawie': {},
}
}
DB = {
'kupujemy': {
'dupowo': {},
}
}
DC = merge_dicts(DA, DB)
self.assertIn('ciekawie', DC['kupujemy'])
self.assertIn('dupowo', DC['kupujemy'])
def test_merge_dicts(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment