def test_load_settings_2(self): d = Definition({'name': 'test'}) d.load_settings({'name': 'This is a test name'}) self.assertEqual(d.settings, {'name': 'test'})
def test_load_settings_3(self): d = Definition({'name': 'test'}) d.load_settings({'name': 'This is a test name'}, override=True) self.assertEqual(d.settings, {'name': 'This is a test name'})