Ejemplo n.º 1
0
    def test_not_yet_analyzed(self):
        wl = WinstonLutz.from_demo_images()
        with self.assertRaises(ValueError):
            wl.results()  # not yet analyzed

        with self.assertRaises(ValueError):
            wl.plot_images()

        with self.assertRaises(ValueError):
            wl.plot_summary()
Ejemplo n.º 2
0
 def setUp(self):
     self.wl = WinstonLutz.from_demo_images()
Ejemplo n.º 3
0
 def setUpClass(cls):
     cls.wl = WinstonLutz.from_demo_images()
Ejemplo n.º 4
0
 def setUp(self):
     self.wl = WinstonLutz.from_demo_images()
Ejemplo n.º 5
0
 def setUpClass(cls):
     cls.wl = WinstonLutz.from_demo_images()
Ejemplo n.º 6
0
 def test_loading_demo_files(self):
     wl = WinstonLutz.from_demo_images()  # shouldn't raise