Fix tests

This commit is contained in:
Tim Bentley 2017-12-09 15:39:31 +00:00
parent 0c8217f33c
commit 595ae30cd4
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ class TestApiTab(TestCase, TestMixin):
# WHEN: the default ip address is given
ip_address = self.form.get_ip_address(ZERO_URL)
# THEN: the default ip address will be returned
assert re.match('\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}', ip_address) is True, \
assert re.match('\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}', ip_address), \
'The return value should be a valid ip address'
def test_get_ip_address_with_ip(self):