(self)
| 1438 | self.assert_digest_not_equal(a, b) |
| 1439 | |
| 1440 | def test_string(self): |
| 1441 | # Testing str of same lengths |
| 1442 | a, b = "foobar", "foobar" |
| 1443 | self.assert_digest_equal(a, b) |
| 1444 | |
| 1445 | # Testing str of different lengths |
| 1446 | a, b = "foo", "foobar" |
| 1447 | self.assert_digest_not_equal(a, b) |
| 1448 | |
| 1449 | # Testing str of same lengths, different values |
| 1450 | a, b = "foobar", "foobaz" |
| 1451 | self.assert_digest_not_equal(a, b) |
| 1452 | |
| 1453 | def test_string_subclass(self): |
| 1454 | class S(str): |
nothing calls this directly
no test coverage detected