From 2f8fdbecde985e2a5ecf498d97d0d3ea9d1a6865 Mon Sep 17 00:00:00 2001 From: Raman Tenneti Date: Tue, 4 May 2021 18:54:52 -0700 Subject: [PATCH] manifest_xml: cleanup of contactinfo test for readability with f-strings. Tested the code with the following commands. $ ./run_tests -v Bug: [google internal] b/186220520. Change-Id: I1c0f8958ff4c615707eec218250e8de753ec6562 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/305282 Reviewed-by: Mike Frysinger Tested-by: Raman Tenneti --- tests/test_manifest_xml.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/test_manifest_xml.py b/tests/test_manifest_xml.py index bfdf366e..6095c720 100644 --- a/tests/test_manifest_xml.py +++ b/tests/test_manifest_xml.py @@ -579,4 +579,6 @@ class ContactinfoElementTests(ManifestParseTestCase): self.assertEqual(manifest.contactinfo['bugurl'], bugurl) self.assertEqual( manifest.ToXml().toxml(), - f"""""") + '' + f'' + '')