From 780eea53e72f96d7d062f0d1c0d6d2a6ba5e5bed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?louiz=E2=80=99?= Date: Tue, 24 Jul 2018 23:25:30 +0200 Subject: Trivially improve a e2e test --- tests/end_to_end/__main__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/end_to_end') 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, -- cgit v1.2.3