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