def test_weak_match_something(self): etag = self._makeOne() assert not etag.weak_match('anything')
def test_weak_match_something(self): etag = self._makeOne() self.assertEqual(etag.weak_match('anything'), True)
def test_weak_match_None(self): etag = self._makeOne() self.assertEqual(etag.weak_match(None), False)
def test_weak_match_something(self): etag = self._makeOne() with pytest.raises(DeprecationWarning): etag.weak_match('anything')
def test_weak_match_empty_list(self): etag = self._makeOne() self.assertEqual(etag.weak_match([]), True)
def test_weak_match_empty_string(self): etag = self._makeOne() self.assertEqual(etag.weak_match(''), False)
def test_weak_match_empty_list(self): etag = self._makeOne() self.assertEqual(etag.weak_match([]), False)