'Testing a simple write'

def test_write(self):

    yed = Yedit('yedit_test.yml')
    yed.put('key1', 1)
    yed.write()
    self.assertTrue(('key1' in yed.yaml_dict))
    self.assertEqual(yed.yaml_dict['key1'], 1)
