示例#1
0
 def test_is_passed_called_with_normal_params(self):
     expect(Explanation.is_passed(1)).to.eq(True)
     expect(Explanation.is_passed('a')).to.eq(True)
示例#2
0
 def test_is_passed_called_with_none(self):
     expect(Explanation.is_passed(None)).to.eq(True)
示例#3
0
 def test_is_passed_called_with_object(self):
     expect(Explanation.is_passed(object)).to.eq(False)
示例#4
0
 def test_is_passed_called_with_normal_params(self):
     expect(Explanation.is_passed(1)).to.eq(True)
     expect(Explanation.is_passed('a')).to.eq(True)
示例#5
0
 def test_is_passed_called_with_none(self):
     expect(Explanation.is_passed(None)).to.eq(True)
示例#6
0
 def test_is_passed_called_with_object(self):
     expect(Explanation.is_passed(object)).to.eq(False)