1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
samba-mirror/python/samba/gp_parse
Noel Power 5406205382 python/samba/gp_parse: Fix test errors with python3.8
UNEXPECTED(failure): samba.tests.samba_tool.gpo.samba.tests.samba_tool.gpo.GpoCmdTestCase.test_backup_restore_generalize(ad_dc:local)
REASON: Exception: Exception: Traceback (most recent call last):
  File "/tmp/samba-testbase/b28/samba-ad-dc-1/bin/python/samba/tests/samba_tool/gpo.py", line 434, in test_backup_restore_generalize
    self.assertIsNone(has_difference(os.path.join(new_path, 'policy',

This caused because prior to 3.8 minodom.toprettyxml() was sorting the
attribute order, now it preserves the attribute order specified by the user
Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2020-03-19 20:46:42 +00:00
..
__init__.py python/samba/gp_parse: PY3 file -> open 2018-11-05 20:05:23 +01:00
gp_aas.py gp_aas: Leave a placeholder for the .aas files for now 2018-08-16 23:42:21 +02:00
gp_csv.py py3: io.open takes a numeric buffering argument at index 2 2019-03-12 00:42:20 +00:00
gp_inf.py python: use raw string for regex with escape 2020-02-07 10:37:37 +00:00
gp_ini.py gpo: Parse GPT.INI with Latin-1 2019-03-12 00:42:20 +00:00
gp_pol.py python/samba/gp_parse: Fix test errors with python3.8 2020-03-19 20:46:42 +00:00