diff options
author | louiz’ <louiz@louiz.org> | 2018-07-24 23:25:30 +0200 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2018-07-24 23:25:30 +0200 |
commit | 780eea53e72f96d7d062f0d1c0d6d2a6ba5e5bed (patch) | |
tree | f75a032a17634feb6915e6503c2f91586279545b /tests | |
parent | 9f77f241ba06ad826d83d6e43fd0ab73b6d1a1cb (diff) | |
download | biboumi-780eea53e72f96d7d062f0d1c0d6d2a6ba5e5bed.tar.gz biboumi-780eea53e72f96d7d062f0d1c0d6d2a6ba5e5bed.tar.bz2 biboumi-780eea53e72f96d7d062f0d1c0d6d2a6ba5e5bed.tar.xz biboumi-780eea53e72f96d7d062f0d1c0d6d2a6ba5e5bed.zip |
Trivially improve a e2e test
Diffstat (limited to 'tests')
-rw-r--r-- | tests/end_to_end/__main__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/end_to_end/__main__.py b/tests/end_to_end/__main__.py index d6dd9a7..cb354e5 100644 --- a/tests/end_to_end/__main__.py +++ b/tests/end_to_end/__main__.py @@ -1294,7 +1294,8 @@ if __name__ == '__main__': # Expect a non-empty id as a result (should be a uuid) partial(expect_stanza, - "!/message[@id='']/body[text()='hello']"), + ("!/message[@id='']/body[text()='hello']", + "/message[@id]/body[text()='hello']")), # Second user joins partial(send_stanza, |