Example #1
0
 def test_empty(self):
     with self.assertRaisesRegexp(SystemExit, ''):
         net_run.main()
     with self.assertRaisesRegexp(SystemExit, ''):
         net_gan.main()
     with self.assertRaisesRegexp(SystemExit, ''):
         net_segment.main()
     with self.assertRaisesRegexp(SystemExit, ''):
         net_regress.main()
     with self.assertRaisesRegexp(SystemExit, ''):
         net_autoencoder.main()
Example #2
0
 def test_empty(self):
     with self.assertRaisesRegexp(SystemExit, ''):
         net_run.main()
     with self.assertRaisesRegexp(SystemExit, ''):
         net_gan.main()
     with self.assertRaisesRegexp(SystemExit, ''):
         net_segment.main()
     with self.assertRaisesRegexp(SystemExit, ''):
         net_regress.main()
     with self.assertRaisesRegexp(SystemExit, ''):
         net_autoencoder.main()