def test_overwrite_method(self): e = Exports({'alpha': {'one': 1, 'two': 2}}) d = {'alpha': {'three': 3, 'four': 4}} e.overwrite(d) e.initialise_interpolation() self.assertEqual(e.as_dict(), d)
def test_overwrite_method(self): e = Exports({'alpha': {'one': 1, 'two': 2}}, SETTINGS, '') d = {'alpha': {'three': 3, 'four': 4}} e.overwrite(d) e.interpolate() self.assertEqual(e.as_dict(), d)