(self)
| 1392 | self.assert_digest_not_equal(a, b) |
| 1393 | |
| 1394 | def test_string(self): |
| 1395 | # Testing str of same lengths |
| 1396 | a, b = "foobar", "foobar" |
| 1397 | self.assert_digest_equal(a, b) |
| 1398 | |
| 1399 | # Testing str of different lengths |
| 1400 | a, b = "foo", "foobar" |
| 1401 | self.assert_digest_not_equal(a, b) |
| 1402 | |
| 1403 | # Testing str of same lengths, different values |
| 1404 | a, b = "foobar", "foobaz" |
| 1405 | self.assert_digest_not_equal(a, b) |
| 1406 | |
| 1407 | def test_string_subclass(self): |
| 1408 | class S(str): |
nothing calls this directly
no test coverage detected