Merge "Deprecate is_bsd and remove its use in test suite"

This commit is contained in:
Zuul 2025-01-10 17:33:07 +00:00 committed by Gerrit Code Review
commit 63da0eedc5
3 changed files with 4 additions and 3 deletions

View File

@ -18,6 +18,7 @@ import platform
import random
import time
from debtcollector import removals
import netaddr
from neutron_lib.utils import helpers
@ -37,6 +38,7 @@ class UnorderedList(list):
return not self == other
@removals.remove
def is_bsd():
"""Return True on BSD-based systems."""

View File

@ -180,8 +180,7 @@ class TestConvertIPv6AddrCanonicalFormat(base.BaseTestCase):
'2001:0db8:0:0:0:0:0:0001')
self.assertEqual('2001:db8::1', result)
@testtools.skipIf(tools.is_bsd(), 'bug/1484837')
def test_convert_ipv6_compressed_address_OSX_skip(self):
def test_convert_ipv6_compressed_address(self):
result = converters.convert_ip_to_canonical_format(
'2001:db8:0:1:1:1:1:1')
self.assertEqual('2001:db8:0:1:1:1:1:1', result)

View File

@ -26,4 +26,4 @@ osprofiler>=1.4.0 # Apache-2.0
setproctitle>=1.1.10 # BSD
WebOb>=1.7.1 # MIT
os-traits>=0.9.0 # Apache-2.0
debtcollector>=3.0.0 # Apache-2.0