diff options
author | louiz’ <louiz@louiz.org> | 2017-03-07 02:48:20 +0100 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2017-03-07 02:48:20 +0100 |
commit | f4ffbcabc871e2031d6afb9fa062092302cd16ae (patch) | |
tree | f539070c945867ac7c3741441b8eb0936f435363 /tests/end_to_end | |
parent | d9811320e228d1d20781d63a68911173380bec36 (diff) | |
download | biboumi-f4ffbcabc871e2031d6afb9fa062092302cd16ae.tar.gz biboumi-f4ffbcabc871e2031d6afb9fa062092302cd16ae.tar.bz2 biboumi-f4ffbcabc871e2031d6afb9fa062092302cd16ae.tar.xz biboumi-f4ffbcabc871e2031d6afb9fa062092302cd16ae.zip |
e2e: Make the tests work without udns too
Diffstat (limited to 'tests/end_to_end')
-rw-r--r-- | tests/end_to_end/__main__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/end_to_end/__main__.py b/tests/end_to_end/__main__.py index c298793..c86ab29 100644 --- a/tests/end_to_end/__main__.py +++ b/tests/end_to_end/__main__.py @@ -519,11 +519,11 @@ if __name__ == '__main__': partial(expect_stanza, "/message/body[text()='Connecting to doesnotexist:6697 (encrypted)']"), partial(expect_stanza, - "/message/body[text()='Connection failed: Domain name not found']"), + "/message/body[re:test(text(), 'Connection failed: (Domain name not found|Name or service not known)')]"), partial(expect_stanza, ("/presence[@from='#foo%doesnotexist@{biboumi_host}/{nick_one}']/muc:x", "/presence/error[@type='cancel']/stanza:item-not-found", - "/presence/error[@type='cancel']/stanza:text[text()='Domain name not found']")), + "/presence/error[@type='cancel']/stanza:text[re:test(text(), '(Domain name not found|Name or service not known)')]")), ]), Scenario("simple_channel_join", [ |