Пример #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()
Пример #2
0
 def setUp(self):
     self.wl = WinstonLutz.from_demo_images()
Пример #3
0
 def setUpClass(cls):
     cls.wl = WinstonLutz.from_demo_images()
Пример #4
0
 def setUp(self):
     self.wl = WinstonLutz.from_demo_images()
Пример #5
0
 def setUpClass(cls):
     cls.wl = WinstonLutz.from_demo_images()
Пример #6
0
 def test_loading_demo_files(self):
     wl = WinstonLutz.from_demo_images()  # shouldn't raise