Public bug reported: A recent update to netutils allows users to select port number 0. This change is causing the below to fail.
====================================================================== FAIL: test_port_range_validator (horizon.test.tests.utils.ValidatorsTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/opt/stack/horizon/horizon/test/tests/utils.py", line 257, in test_port_range_validator self.assertRaises(ValidationError, test_call, prange) AssertionError: ValidationError not raised ====================================================================== FAIL: test_port_validator (horizon.test.tests.utils.ValidatorsTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/opt/stack/horizon/horizon/test/tests/utils.py", line 207, in test_port_validator port) AssertionError: ValidationError not raised ** Affects: horizon Importance: Undecided Assignee: Ankur (ankur-gupta-f) Status: New ** Changed in: horizon Assignee: (unassigned) => Ankur (ankur-gupta-f) -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Dashboard (Horizon). https://bugs.launchpad.net/bugs/1592553 Title: Port Validator Failing Status in OpenStack Dashboard (Horizon): New Bug description: A recent update to netutils allows users to select port number 0. This change is causing the below to fail. ====================================================================== FAIL: test_port_range_validator (horizon.test.tests.utils.ValidatorsTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/opt/stack/horizon/horizon/test/tests/utils.py", line 257, in test_port_range_validator self.assertRaises(ValidationError, test_call, prange) AssertionError: ValidationError not raised ====================================================================== FAIL: test_port_validator (horizon.test.tests.utils.ValidatorsTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/opt/stack/horizon/horizon/test/tests/utils.py", line 207, in test_port_validator port) AssertionError: ValidationError not raised To manage notifications about this bug go to: https://bugs.launchpad.net/horizon/+bug/1592553/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp