예제 #1
0
 def test_res_e(self):
   actual = res.p_api_res(1,[],'hoge')
   assert actual.has_error() is True
예제 #2
0
 def test_res(self):
   actual = res.p_api_res('0',[],None)
   assert actual.has_error() is False