Exemple #1
0
 def testRemoteCallFails(self):
     #create a local representation of a frame
     app = Mock()
     app.widgets = []
     frame = Frame(app, Mock(), None)
     self.assertRaises(RemoteResourceNotCreatedException, frame.show)
Exemple #2
0
 def testImage(self):
     """Actually no real testing is done here.. just makes sure it doesn't throw any errors on load"""
     run = Mock()
     run.widgets = []
     panel = Mock()
     image = PNGImage(run, panel, "/Users/rgravina/Pyrope/images/pyrope.png")