コード例 #1
0
ファイル: soft_assert_test.py プロジェクト: kotolex/checking
 def test_equals_failed(self):
     soft = SoftAssert()
     soft.equals(1, 2)
     with self.assertRaises(AssertionError):
         soft.assert_all()
コード例 #2
0
ファイル: soft_assert_test.py プロジェクト: kotolex/checking
 def test_equals_ok(self):
     soft = SoftAssert()
     soft.equals(1, 1)
     soft.assert_all()