def test_minVersion_higher_than_maxVersion(self): hs = HandshakeSettings() hs.minVersion = (3, 3) hs.maxVersion = (3, 0) with self.assertRaises(ValueError): hs.validate()
def test_minVersion_higher_than_maxVersion(self): hs = HandshakeSettings() hs.minVersion = (3, 3) hs.maxVersion = (3, 0) with self.assertRaises(ValueError): hs.validate()
def test_minVersion_with_unknown_version(self): hs = HandshakeSettings() hs.minVersion = (2, 0) with self.assertRaises(ValueError): hs.validate()
def test_minVersion_with_unknown_version(self): hs = HandshakeSettings() hs.minVersion = (2, 0) with self.assertRaises(ValueError): hs.validate()