Upgrade to Python 3.11
This commit is contained in:
@@ -49,6 +49,9 @@ service = load_service()
|
||||
|
||||
|
||||
class GreenOceanUpgradeTests(unittest.TestCase):
|
||||
def test_python_311_or_newer_runtime(self):
|
||||
self.assertGreaterEqual(sys.version_info[:2], (3, 11))
|
||||
|
||||
def test_domain_and_url_inputs_keep_their_distinct_redirect_paths(self):
|
||||
self.assertTrue(validators.domain('example.com'))
|
||||
self.assertFalse(validators.url('example.com'))
|
||||
|
||||
Reference in New Issue
Block a user