forked from openlp/openlp
Fix tests
This commit is contained in:
parent
0c8217f33c
commit
595ae30cd4
@ -81,7 +81,7 @@ class TestApiTab(TestCase, TestMixin):
|
|||||||
# WHEN: the default ip address is given
|
# WHEN: the default ip address is given
|
||||||
ip_address = self.form.get_ip_address(ZERO_URL)
|
ip_address = self.form.get_ip_address(ZERO_URL)
|
||||||
# THEN: the default ip address will be returned
|
# 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'
|
'The return value should be a valid ip address'
|
||||||
|
|
||||||
def test_get_ip_address_with_ip(self):
|
def test_get_ip_address_with_ip(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user