def test_frame_add_residue(self): frame = Frame() residue = frame.add_residue("TEST_RESIDUE") self.assertTrue(residue is frame.residue(0))