mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
Fix module name in error text at parse_xml filter (#44313)
* Fix module name in error text at parse_xml filter * Fix test that includes erroneous module name in error text at parse_xml filter
This commit is contained in:
committed by
Ganesh Nalawade
parent
e6f0f8073d
commit
8323f3e3b7
@@ -76,7 +76,7 @@ class TestNetworkParseFilter(unittest.TestCase):
|
||||
|
||||
with self.assertRaises(Exception) as e:
|
||||
parse_xml(output_xml, 'junk_path')
|
||||
self.assertEqual("unable to locate parse_cli template: junk_path", str(e.exception))
|
||||
self.assertEqual("unable to locate parse_xml template: junk_path", str(e.exception))
|
||||
|
||||
with self.assertRaises(Exception) as e:
|
||||
parse_xml(output, spec_file_path)
|
||||
|
||||
Reference in New Issue
Block a user