def test_save(self): note = Note('', Path('./tests/dummy/other.tmp')) note.save('test') note.open() self.assertEquals('test', note.text)