예제 #1
0
 def test_exception(self, value, args, expected):
     with pytest.raises(expected):
         main = Main(value, args)
         main()
예제 #2
0
 def test_normal(self, value, expected):
     main = Main(value)
     assert main() == expected