def test_set_override_false(self): d = Definition({'name': 'test'}) d.set('name', 'This is a test name', override=False) self.assertEqual(d.get('name'), 'test')
def test_set(self): d = Definition({'name': 'This is a test name'}) d.set('name', 'test') self.assertEqual(d.get('name'), 'test')